当前位置: 首页>>代码示例>>Java>>正文


Java Monitor类代码示例

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


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

示例1: getUsedPercent

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "used_percent", type = DataSourceType.GAUGE)
public short getUsedPercent() {
    return osStatsBean.get().usedPercent;
}
 
开发者ID:Netflix,项目名称:Raigad,代码行数:5,代码来源:OsStatsMonitor.java

示例2: getIndexThreads

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "IndexThreads", type = DataSourceType.GAUGE)
public long getIndexThreads() {
    return threadPoolBean.get().indexThreads;
}
 
开发者ID:Netflix,项目名称:Raigad,代码行数:5,代码来源:ThreadPoolStatsMonitor.java

示例3: getGetRejected

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "getRejected", type = DataSourceType.COUNTER)
public long getGetRejected() {
    return threadPoolBean.get().getRejected;
}
 
开发者ID:Netflix,项目名称:Raigad,代码行数:5,代码来源:ThreadPoolStatsMonitor.java

示例4: getConnectionClosedCount

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionClosed", type = DataSourceType.COUNTER)
@Override
public long getConnectionClosedCount() {
	return super.getConnectionClosedCount();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例5: getOsTimestamp

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "os_timestamp", type = DataSourceType.GAUGE)
public long getOsTimestamp() {
    return osStatsBean.get().osTimestamp;
}
 
开发者ID:Netflix,项目名称:Raigad,代码行数:5,代码来源:OsStatsMonitor.java

示例6: getConnectionBorrowedCount

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBorrowed", type = DataSourceType.COUNTER)
@Override
public long getConnectionBorrowedCount() {
	return super.getConnectionBorrowedCount();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例7: getConnectionBorrowedLatMean

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBorrowedAvgLat", type = DataSourceType.GAUGE)
@Override
public long getConnectionBorrowedLatMean() {
    return super.getConnectionBorrowedLatMean();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例8: getDiskServiceTime

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "disk_service_time", type = DataSourceType.GAUGE)
public double getDiskServiceTime() {
    return fsStatsBean.get().diskServiceTime;
}
 
开发者ID:Netflix,项目名称:Raigad,代码行数:5,代码来源:FsStatsMonitor.java

示例9: getConnectionBorrowedLatP99

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBorrowedLatP99", type = DataSourceType.GAUGE)
@Override
public long getConnectionBorrowedLatP99() {
    return super.getConnectionBorrowedLatP99();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例10: getFlushAvgTimeInMillisPerRequest

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "flush_avg_time_in_millis_per_request", type = DataSourceType.GAUGE)
public double getFlushAvgTimeInMillisPerRequest() {
    return nodeIndicesStatsBean.get().flushAvgTimeInMillisPerRequest;
}
 
开发者ID:Netflix,项目名称:Raigad,代码行数:5,代码来源:NodeIndicesStatsMonitor.java

示例11: getPoolExhaustedTimeoutCount

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "PoolExhausted", type = DataSourceType.COUNTER)
@Override
public long getPoolExhaustedTimeoutCount() {
	return super.getPoolExhaustedTimeoutCount();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例12: getSocketTimeoutCount

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "SocketTimeout", type = DataSourceType.COUNTER)
@Override
public long getSocketTimeoutCount() {
	return super.getSocketTimeoutCount();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例13: getOperationTimeoutCount

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "OperationTimeout", type = DataSourceType.COUNTER)
@Override
public long getOperationTimeoutCount() {
	return super.getOperationTimeoutCount();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例14: getFailoverCount

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "NumFailover", type = DataSourceType.COUNTER)
@Override
public long getFailoverCount() {
	return super.getFailoverCount();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java

示例15: getNumBusyConnections

import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBusy", type = DataSourceType.COUNTER)
@Override
public long getNumBusyConnections() {
	return super.getNumBusyConnections();
}
 
开发者ID:Netflix,项目名称:dyno,代码行数:6,代码来源:DynoCPMonitor.java


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