• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ManagedMetric类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.springframework.jmx.export.annotation.ManagedMetric的典型用法代码示例。如果您正苦于以下问题:Java ManagedMetric类的具体用法?Java ManagedMetric怎么用?Java ManagedMetric使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ManagedMetric类属于org.springframework.jmx.export.annotation包,在下文中一共展示了ManagedMetric类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getAfnemerBericht

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft het afnemer bericht.
 * @return afnemer bericht
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal berichten dat geplaatst is op afnemer queues",
        description = "Aantal berichten dat geplaatst is op afnemer queues",
        metricType = MetricType.COUNTER, unit = UNIT_BERICHTEN)
public final int getAfnemerBericht() {
    return afnemerBericht.get();
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:11,代码来源:MaakberichtMutatieLeveringInfoBean.java


示例2: getAantal

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft het aantal handelingen.
 * @return het aantal handelingen
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal handelingen",
        description = "Aantal handelingen",
        metricType = MetricType.COUNTER, unit = UNIT_BERICHTEN)
public final int getAantal() {
    return aantalHandelingen.get();
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:11,代码来源:MaakberichtMutatieLeveringInfoBean.java


示例3: getGemiddeldeTijdPerHandeling

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft gemiddelde tijd per handeling.
 * @return gemiddelde tijd per handeling
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Gemiddelde doorlooptijd per handeling",
        description = "Gemiddelde doorlooptijd per handeling",
        metricType = MetricType.GAUGE, unit = UNIT_BERICHTEN)
public final int getGemiddeldeTijdPerHandeling() {
    return (int) (handelingenTijd.get() / aantalHandelingen.get());
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:11,代码来源:MaakberichtMutatieLeveringInfoBean.java


示例4: getHandelingenPerSeconde

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft aantal handelingen per seconde.
 * @return aantal handelingen per seconde
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal handelingen per seconde systeemtijd",
        description = "Aantal handelingen per seconde",
        metricType = MetricType.GAUGE, unit = UNIT_BERICHTEN)
public final double getHandelingenPerSeconde() {
    final long looptijd = System.currentTimeMillis() - start;
    return ((double) aantalHandelingen.get() / looptijd) * DUIZEND;
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:12,代码来源:MaakberichtMutatieLeveringInfoBean.java


示例5: getAfnemerBerichtenPerSeconde

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft aantal afnemer berichten per seconde.
 * @return aantal afnemer berichten per seconde
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal afnemerberichten per seconde systeemtijd",
        description = "Aantal afnemerberichten per seconde",
        metricType = MetricType.GAUGE, unit = UNIT_BERICHTEN)
public final double getAfnemerBerichtenPerSeconde() {
    final long looptijd = System.currentTimeMillis() - start;
    return ((double) afnemerBericht.get() / looptijd) * DUIZEND;
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:12,代码来源:MaakberichtMutatieLeveringInfoBean.java


示例6: getAfnemerBericht

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft het afnemer bericht.
 * @return afnemer bericht
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal berichten dat geplaatst is op afnemer queues",
        description = "Aantal berichten dat geplaatst is op afnemer queues",
        metricType = MetricType.COUNTER, unit = UNIT_BERICHTEN)
final int getAfnemerBericht() {
    return afnemerBericht.get();
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:11,代码来源:MutatieLeveringInfoBean.java


示例7: getAantal

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft het aantal handelingen.
 * @return het aantal handelingen
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal handelingen",
        description = "Aantal handelingen",
        metricType = MetricType.COUNTER, unit = UNIT_BERICHTEN)
final int getAantal() {
    return aantalHandelingen.get();
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:11,代码来源:MutatieLeveringInfoBean.java


示例8: getGemiddeldeTijdPerHandeling

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft gemiddelde tijd per handeling.
 * @return gemiddelde tijd per handeling
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Gemiddelde doorlooptijd per handeling",
        description = "Gemiddelde doorlooptijd per handeling",
        metricType = MetricType.GAUGE, unit = UNIT_BERICHTEN)
final int getGemiddeldeTijdPerHandeling() {
    return (int) (handelingenTijd.get() / aantalHandelingen.get());
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:11,代码来源:MutatieLeveringInfoBean.java


示例9: getHandelingenPerSeconde

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft aantal handelingen per seconde.
 * @return aantal handelingen per seconde
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal handelingen per seconde systeemtijd",
        description = "Aantal handelingen per seconde",
        metricType = MetricType.GAUGE, unit = UNIT_BERICHTEN)
final double getHandelingenPerSeconde() {
    final long looptijd = System.currentTimeMillis() - start;
    return ((double) aantalHandelingen.get() / looptijd) * DUIZEND;
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:12,代码来源:MutatieLeveringInfoBean.java


示例10: getAfnemerBerichtenPerSeconde

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
/**
 * Geeft aantal afnemer berichten per seconde.
 * @return aantal afnemer berichten per seconde
 */
@ManagedMetric(category = CATEGORIE_METRIEKEN, displayName = "Aantal afnemerberichten per seconde systeemtijd",
        description = "Aantal afnemerberichten per seconde",
        metricType = MetricType.GAUGE, unit = UNIT_BERICHTEN)
final double getAfnemerBerichtenPerSeconde() {
    final long looptijd = System.currentTimeMillis() - start;
    return ((double) afnemerBericht.get() / looptijd) * DUIZEND;
}
 
开发者ID:MinBZK,项目名称:OperatieBRP,代码行数:12,代码来源:MutatieLeveringInfoBean.java


示例11: getFullScansPerSec

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Full Scans/sec",
  unit = "full scans/sec",
  description = "Monitors the number of full scans on tables " +
    "or indexes. Ignore unless high CPU coincides " +
    "with high scan rates. High scan rates may be " +
    "caused by missing indexes, very small tables, " +
    "or requests for too many records. A sudden " +
    "increase in this value may indicate a statistics " +
    "threshold has been reached, resulting in an " +
    "index no longer being used.")
double getFullScansPerSec();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:13,代码来源:SqlServerAccessMethodsMetrics.java


示例12: getPageSplitsPerSec

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Page Splits/sec",
  unit = "splits/sec",
  description = "Monitors the number of page splits per second " +
    "which occur due to overflowing index pages " +
    "and should be as low as possible. To avoid " +
    "page splits, review table and index design to " +
    "reduce non-sequential inserts or implement " +
    "fillfactor and pad_index to leave more empty " +
    "space per page. ")
double getPageSplitsPerSec();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:12,代码来源:SqlServerAccessMethodsMetrics.java


示例13: getPagesOutputPerSec

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Pages Output/sec",
  unit = "output/sec",
  description = "Shows the rate at which pages are written to disk to free up space " +
  "in physical memory. A high rate of pages output might indicate a memory shortage. "+
  "This counter shows numbers of pages, and can be compared to other counts of pages without conversion")
double getPagesOutputPerSec();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:8,代码来源:WindowsMemoryMetrics.java


示例14: getDatabasePages

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Database Pages",
  unit = "pages",
  description = "Number of database pages in the buffer pool, " +
    "as opposed to other usages for memory such " +
    "as free pages, procedure cache, etc.")
double getDatabasePages();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:8,代码来源:SqlServerBufferManagerMetrics.java


示例15: getTargetPages

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Target Pages",
  unit = "pages",
  description = "The ideal number of pages in the buffer pool " +
    "according the maximum memory granted to " +
    "SQL Server in sp_configure.")
double getTargetPages();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:8,代码来源:SqlServerBufferManagerMetrics.java


示例16: getAutoParamAttemptsPerSec

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Auto-Param Attempts/sec",
  unit = "attempts/sec",
  description = "Number of auto-parameterization attempts per second. Total should be the sum of the " +
    "failed, safe, and unsafe auto-parameterizations. Auto-parameterization occurs when an " +
    "instance of SQL Server attempts to reuse a cached plan for a previously executed query " +
    "that is similar to, but not the same as, the current query. For more information, see Autoparameterization " +
    "in the SQL Server Books On-Line (BOL).")
double getAutoParamAttemptsPerSec();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:10,代码来源:SqlServerSqlStatsMetrics.java


示例17: getPageFileBytes

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Page File Bytes",
  unit = "bytes",
  description = "Shows the current number of bytes that this process has used in the paging file(s). " +
  "Paging files are used to store pages of memory used by the process that are not contained in other files. " +
  "Paging files are shared by all processes, and lack of space in paging files can prevent other processes from allocating memory.")
double getPageFileBytes();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:8,代码来源:WindowsProcessMetrics.java


示例18: getUserConnections

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "User Connections",
  unit = "connections",
  description = "The number of users currently connected " +
    "to the SQL Server. This counter should " +
    "roughly track with 'Batch Requests/Sec'.")
double getUserConnections();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:8,代码来源:SqlServerGeneralStatsMetrics.java


示例19: getPageFileBytesPeak

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "Page File Bytes Peak",
  unit = "bytes",
  description = "Shows the maximum number of bytes that this process has used in the paging file(s). Paging " +
  "files are used to store pages of memory used by the process that are not contained in other files. Paging " +
  "files are shared by all processes, and lack of space in paging files can prevent other processes from allocating memory.")
double getPageFileBytesPeak();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:8,代码来源:WindowsProcessMetrics.java


示例20: getSystemCodeResidentBytes

import org.springframework.jmx.export.annotation.ManagedMetric; //导入依赖的package包/类
@ManagedMetric(
  displayName = "System Code Resident Bytes",
  unit = "Bytes",
  description = "Shows the size, in bytes, of operating system code currently in physical memory that can be written " +
  "to disk when not in use. This value is a component of Memory\\ System Code Total Bytes, which also includes " +
  "operating system code on disk. Memory\\ System Code Resident Bytes (and Memory\\ System Code Total Bytes) does not " +
  "include code that must remain in physical memory and cannot be written to disk.")
double getSystemCodeResidentBytes();
 
开发者ID:OctoPerf,项目名称:jmx-agent,代码行数:9,代码来源:WindowsMemoryMetrics.java



注:本文中的org.springframework.jmx.export.annotation.ManagedMetric类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java GlobusGSSCredentialImpl类代码示例发布时间:2022-05-23
下一篇:
Java IAxis类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap