org.openspaces.admin.pu.statistics
Class ProcessingUnitStatisticsId
java.lang.Object
org.openspaces.admin.pu.statistics.ProcessingUnitStatisticsId
public class ProcessingUnitStatisticsId
- extends Object
Identifies a processing unit statistics value, by specifying the monitoring source and the statistics functions applied to it.
- Since:
- 9.0.0
- Author:
- itaif
- See Also:
ProcessingUnitStatisticsIdConfigurer
ProcessingUnitStatisticsId
public ProcessingUnitStatisticsId()
- default constructor
ProcessingUnitStatisticsId
public ProcessingUnitStatisticsId(Map<String,String> properties)
getMonitor
public String getMonitor()
setMonitor
public void setMonitor(String monitor)
- See Also:
ProcessingUnitStatisticsIdConfigurer.monitor(String)
getMetric
public String getMetric()
setMetric
public void setMetric(String metric)
- See Also:
ProcessingUnitStatisticsIdConfigurer.metric(String)
getTimeWindowStatistics
public TimeWindowStatisticsConfig getTimeWindowStatistics()
setTimeWindowStatistics
public void setTimeWindowStatistics(TimeWindowStatisticsConfig timeWindowStatistics)
- See Also:
ProcessingUnitStatisticsIdConfigurer.timeWindowStatistics(TimeWindowStatisticsConfig)
getInstancesStatistics
public InstancesStatisticsConfig getInstancesStatistics()
setInstancesStatistics
public void setInstancesStatistics(InstancesStatisticsConfig instancesStatistics)
- See Also:
ProcessingUnitStatisticsIdConfigurer.instancesStatistics(InstancesStatisticsConfig)
getAgentZones
public ZonesConfig getAgentZones()
setAgentZones
public void setAgentZones(ZonesConfig zoneStatistics)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
validate
public void validate()
throws IllegalStateException
- Checks that the content of this StatisticsId is valid.
- Throws:
IllegalStateException
- - if state is found to be illegal
getProperties
public Map<String,String> getProperties()
shallowClone
public ProcessingUnitStatisticsId shallowClone()
Copyright © GigaSpaces.