本文整理汇总了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;
}
示例2: getIndexThreads
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "IndexThreads", type = DataSourceType.GAUGE)
public long getIndexThreads() {
return threadPoolBean.get().indexThreads;
}
示例3: getGetRejected
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "getRejected", type = DataSourceType.COUNTER)
public long getGetRejected() {
return threadPoolBean.get().getRejected;
}
示例4: getConnectionClosedCount
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionClosed", type = DataSourceType.COUNTER)
@Override
public long getConnectionClosedCount() {
return super.getConnectionClosedCount();
}
示例5: getOsTimestamp
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "os_timestamp", type = DataSourceType.GAUGE)
public long getOsTimestamp() {
return osStatsBean.get().osTimestamp;
}
示例6: getConnectionBorrowedCount
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBorrowed", type = DataSourceType.COUNTER)
@Override
public long getConnectionBorrowedCount() {
return super.getConnectionBorrowedCount();
}
示例7: getConnectionBorrowedLatMean
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBorrowedAvgLat", type = DataSourceType.GAUGE)
@Override
public long getConnectionBorrowedLatMean() {
return super.getConnectionBorrowedLatMean();
}
示例8: getDiskServiceTime
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "disk_service_time", type = DataSourceType.GAUGE)
public double getDiskServiceTime() {
return fsStatsBean.get().diskServiceTime;
}
示例9: getConnectionBorrowedLatP99
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBorrowedLatP99", type = DataSourceType.GAUGE)
@Override
public long getConnectionBorrowedLatP99() {
return super.getConnectionBorrowedLatP99();
}
示例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;
}
示例11: getPoolExhaustedTimeoutCount
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "PoolExhausted", type = DataSourceType.COUNTER)
@Override
public long getPoolExhaustedTimeoutCount() {
return super.getPoolExhaustedTimeoutCount();
}
示例12: getSocketTimeoutCount
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "SocketTimeout", type = DataSourceType.COUNTER)
@Override
public long getSocketTimeoutCount() {
return super.getSocketTimeoutCount();
}
示例13: getOperationTimeoutCount
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "OperationTimeout", type = DataSourceType.COUNTER)
@Override
public long getOperationTimeoutCount() {
return super.getOperationTimeoutCount();
}
示例14: getFailoverCount
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "NumFailover", type = DataSourceType.COUNTER)
@Override
public long getFailoverCount() {
return super.getFailoverCount();
}
示例15: getNumBusyConnections
import com.netflix.servo.annotations.Monitor; //导入依赖的package包/类
@Monitor(name = "ConnectionBusy", type = DataSourceType.COUNTER)
@Override
public long getNumBusyConnections() {
return super.getNumBusyConnections();
}