sidnet.utilityviews.statscollector
Class StatEntry_AliveNodesCount

java.lang.Object
  extended by sidnet.utilityviews.statscollector.StatEntry
      extended by sidnet.utilityviews.statscollector.ExclusionStatEntry
          extended by sidnet.utilityviews.statscollector.StatEntry_AliveNodesCount
All Implemented Interfaces:
JistAPI.Timeless

public class StatEntry_AliveNodesCount
extends ExclusionStatEntry


Nested Class Summary
 
Nested classes/interfaces inherited from class sidnet.utilityviews.statscollector.ExclusionStatEntry
ExclusionStatEntry.STATUS, ExclusionStatEntry.TYPE
 
Field Summary
 
Fields inherited from class sidnet.utilityviews.statscollector.ExclusionStatEntry
DEBUG, inclusionContor
 
Fields inherited from class sidnet.utilityviews.statscollector.StatEntry
key, tag
 
Constructor Summary
StatEntry_AliveNodesCount(java.lang.String key, int energyPercentageThreshold)
           
StatEntry_AliveNodesCount(java.lang.String key, int energyPercentageThreshold, Region region, ExclusionStatEntry.TYPE regionType)
           
 
Method Summary
 java.lang.String getValueAsString()
          Returns the current recorded value of the data that is being monitored, as String
 void update(Node[] nodes)
          User-defined processing (update of inner statistical values) based on the informations comprised in the Node The implementation must call this method first
 
Methods inherited from class sidnet.utilityviews.statscollector.ExclusionStatEntry
excludeFromMonitoring, included, includeInMonitoring, initialize
 
Methods inherited from class sidnet.utilityviews.statscollector.StatEntry
getHeader, getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatEntry_AliveNodesCount

public StatEntry_AliveNodesCount(java.lang.String key,
                                 int energyPercentageThreshold)

StatEntry_AliveNodesCount

public StatEntry_AliveNodesCount(java.lang.String key,
                                 int energyPercentageThreshold,
                                 Region region,
                                 ExclusionStatEntry.TYPE regionType)
Method Detail

getValueAsString

public java.lang.String getValueAsString()
Description copied from class: StatEntry
Returns the current recorded value of the data that is being monitored, as String

Overrides:
getValueAsString in class StatEntry
Returns:
data value

update

public void update(Node[] nodes)
Description copied from class: ExclusionStatEntry
User-defined processing (update of inner statistical values) based on the informations comprised in the Node The implementation must call this method first

Overrides:
update in class ExclusionStatEntry