GridGain™ 2.0.3
Java API Specification

org.gridgain.grid.spi.metrics.jdk
Interface GridJdkLocalMetricsSpiMBean

All Superinterfaces:
GridLocalMetrics, GridSpiManagementMBean, Serializable
All Known Implementing Classes:
GridJdkLocalMetricsSpi

public interface GridJdkLocalMetricsSpiMBean
extends GridLocalMetrics, GridSpiManagementMBean

Management MBean for GridJdkLocalMetricsSpi SPI.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3

 

Method Summary
 boolean isPreferSigar()
          Configuration parameter indicating if Hyperic Sigar should be used regardless of JDK version.
 
Methods inherited from interface org.gridgain.grid.spi.metrics.GridLocalMetrics
getAvailableProcessors, getCurrentCpuLoad, getDaemonThreadCount, getHeapMemoryCommitted, getHeapMemoryInitialized, getHeapMemoryMaximum, getHeapMemoryUsed, getNonHeapMemoryCommitted, getNonHeapMemoryInitialized, getNonHeapMemoryMaximum, getNonHeapMemoryUsed, getPeakThreadCount, getStartTime, getThreadCount, getTotalStartedThreadCount, getUptime
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

isPreferSigar

boolean isPreferSigar()
Configuration parameter indicating if Hyperic Sigar should be used regardless of JDK version. Hyperic Sigar is used to provide CPU load. Starting with JDK 1.6, method OperatingSystemMXBean.getSystemLoadAverage() method was added. However, even in 1.6 and higher this method does not always provide CPU load on some operating systems - in such cases Hyperic Sigar will be used automatically.

Returns:
If true then Hyperic Sigar should be used regardless of JDK version, if false, then implementation will attempt to use OperatingSystemMXBean.getSystemLoadAverage() for JDK 1.6 and higher.

GridGain™ 2.0.3
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.