use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.
the class OPerformanceStatisticManagerMBean method populateCacheHits.
private void populateCacheHits(List<MBeanAttributeInfo> performanceAttributes, Collection<String> components) {
final MBeanAttributeInfo cacheHits = new MBeanAttributeInfo(CACHE_HITS, int.class.getName(), "Cache hits of read disk cache in percents", true, false, false);
performanceAttributes.add(cacheHits);
for (String component : components) {
final MBeanAttributeInfo componentCacheHits = new ModelMBeanAttributeInfo(CACHE_HITS + COMPONENT_SEPARATOR + component, int.class.getName(), "Cache hits of read disc cache for component " + component + " in percents", true, false, false);
performanceAttributes.add(componentCacheHits);
}
}
use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.
the class OPerformanceStatisticManagerMBean method populateWALFlushTime.
private void populateWALFlushTime(List<MBeanAttributeInfo> performanceAttributes) {
final MBeanAttributeInfo walFlushTime = new ModelMBeanAttributeInfo(WAL_FLUSH_TIME, long.class.getName(), "Time which is spent on flush of WAL cache", true, false, false);
performanceAttributes.add(walFlushTime);
}
use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.
the class OPerformanceStatisticManagerMBean method populateReadCacheSize.
private void populateReadCacheSize(List<MBeanAttributeInfo> performanceAttributes) {
final MBeanAttributeInfo readCacheSize = new ModelMBeanAttributeInfo(READ_CACHE_SIZE, long.class.getName(), "Size of read cache in bytes", true, false, false);
performanceAttributes.add(readCacheSize);
}
use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.
the class OPerformanceStatisticManagerMBean method populatePagesPerOperation.
private void populatePagesPerOperation(List<MBeanAttributeInfo> performanceAttributes, Collection<String> components) {
for (String component : components) {
final MBeanAttributeInfo componentCacheHits = new ModelMBeanAttributeInfo(PAGES_PER_OPERATION + COMPONENT_SEPARATOR + component, int.class.getName(), "Average amount of pages per operation for component " + component, true, false, false);
performanceAttributes.add(componentCacheHits);
}
}
use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.
the class OPerformanceStatisticManagerMBean method populateWriteCacheFuzzyCheckpointTime.
private void populateWriteCacheFuzzyCheckpointTime(List<MBeanAttributeInfo> performanceAttributes) {
final MBeanAttributeInfo fuzzyCheckpointTime = new ModelMBeanAttributeInfo(WRITE_CACHE_FUZZY_CHECKPOINT_TIME, long.class.getName(), "Time which is spent on each fuzzy checkpoint", true, false, false);
performanceAttributes.add(fuzzyCheckpointTime);
}
Aggregations