Search in sources :

Example 36 with ModelMBeanAttributeInfo

use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.

the class OPerformanceStatisticManagerMBean method populateWriteCachePagesPerFlush.

private void populateWriteCachePagesPerFlush(List<MBeanAttributeInfo> performanceAttributes) {
    final MBeanAttributeInfo pagesPerFlush = new ModelMBeanAttributeInfo(WRITE_CACHE_PAGES_PER_FLUSH, long.class.getName(), "Amount of pages are flushed inside of write cache flush operation", true, false, false);
    performanceAttributes.add(pagesPerFlush);
}
Also used : ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo) ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo)

Example 37 with ModelMBeanAttributeInfo

use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.

the class OPerformanceStatisticManagerMBean method populateFullCheckpointTime.

private void populateFullCheckpointTime(List<MBeanAttributeInfo> performanceAttributes) {
    final MBeanAttributeInfo fullCheckpointTime = new ModelMBeanAttributeInfo(FULL_CHECKPOINT_TIME, long.class.getName(), "Time which is spent on each full checkpoint", true, false, false);
    performanceAttributes.add(fullCheckpointTime);
}
Also used : ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo) ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo)

Example 38 with ModelMBeanAttributeInfo

use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.

the class OPerformanceStatisticManagerMBean method populateWriteCacheSize.

private void populateWriteCacheSize(List<MBeanAttributeInfo> performanceAttributes) {
    final MBeanAttributeInfo writeCacheSize = new ModelMBeanAttributeInfo(WRITE_CACHE_SIZE, long.class.getName(), "Size of write cache in bytes", true, false, false);
    performanceAttributes.add(writeCacheSize);
}
Also used : ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo) ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo)

Example 39 with ModelMBeanAttributeInfo

use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.

the class OPerformanceStatisticManagerMBean method populateWALStartAOLogTime.

private void populateWALStartAOLogTime(List<MBeanAttributeInfo> performanceAttributes) {
    final MBeanAttributeInfo walLogTime = new ModelMBeanAttributeInfo(WAL_START_AO_LOG_TIME, long.class.getName(), "Time which is spent to log record which indicates start of atomic operation in WAL", true, false, false);
    performanceAttributes.add(walLogTime);
}
Also used : ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo) ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo)

Example 40 with ModelMBeanAttributeInfo

use of javax.management.modelmbean.ModelMBeanAttributeInfo in project orientdb by orientechnologies.

the class OPerformanceStatisticManagerMBean method populateWALEndAOLogTime.

private void populateWALEndAOLogTime(List<MBeanAttributeInfo> performanceAttributes) {
    final MBeanAttributeInfo walLogTime = new ModelMBeanAttributeInfo(WAL_END_AO_LOG_TIME, long.class.getName(), "Time which is spent to log record which indicates end of atomic operation in WAL", true, false, false);
    performanceAttributes.add(walLogTime);
}
Also used : ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo) ModelMBeanAttributeInfo(javax.management.modelmbean.ModelMBeanAttributeInfo)

Aggregations

ModelMBeanAttributeInfo (javax.management.modelmbean.ModelMBeanAttributeInfo)56 ModelMBeanInfo (javax.management.modelmbean.ModelMBeanInfo)25 Test (org.junit.Test)18 Descriptor (javax.management.Descriptor)16 ModelMBeanOperationInfo (javax.management.modelmbean.ModelMBeanOperationInfo)10 ModelMBeanInfoSupport (javax.management.modelmbean.ModelMBeanInfoSupport)7 DescriptorSupport (javax.management.modelmbean.DescriptorSupport)6 Method (java.lang.reflect.Method)5 RuntimeOperationsException (javax.management.RuntimeOperationsException)4 FileLogger (mx4j.log.FileLogger)4 Logger (mx4j.log.Logger)4 MBeanLogger (mx4j.log.MBeanLogger)4 ArrayList (java.util.ArrayList)3 Attribute (javax.management.Attribute)3 MBeanAttributeInfo (javax.management.MBeanAttributeInfo)3 MBeanServer (javax.management.MBeanServer)3 ObjectName (javax.management.ObjectName)3 ModelMBean (javax.management.modelmbean.ModelMBean)3 ModelMBeanNotificationInfo (javax.management.modelmbean.ModelMBeanNotificationInfo)3 RequiredModelMBean (javax.management.modelmbean.RequiredModelMBean)3