public class

ResourceMonitor

extends Object
implements ResourceMonitorMBean
java.lang.Object
   ↳ org.apache.helix.monitoring.mbeans.ResourceMonitor

Summary

Public Constructors
ResourceMonitor(String clusterName, String resourceName)
Public Methods
String getBeanName()
long getDifferenceWithIdealStateGauge()
long getErrorPartitionGauge()
long getExternalViewPartitionGauge()
long getMissingTopStatePartitionGauge()
long getPartitionGauge()
String getResourceName()
String getSensorName()
void updateResource(ExternalView externalView, IdealState idealState, String topState)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.helix.monitoring.SensorNameProvider
From interface org.apache.helix.monitoring.mbeans.ResourceMonitorMBean

Public Constructors

public ResourceMonitor (String clusterName, String resourceName)

Public Methods

public String getBeanName ()

public long getDifferenceWithIdealStateGauge ()

public long getErrorPartitionGauge ()

public long getExternalViewPartitionGauge ()

public long getMissingTopStatePartitionGauge ()

public long getPartitionGauge ()

public String getResourceName ()

public String getSensorName ()

public void updateResource (ExternalView externalView, IdealState idealState, String topState)