net.sf.sensor
Interface SensorStatistics

All Known Implementing Classes:
TimerStatistics

public interface SensorStatistics

Author:
Age Mooy

Method Summary
 String getId()
          Returns the string that uniquely identifies one instance of SensorStatistics.
 Set getLabels()
          Returns a Set<String> of all labels associated with an instance of SensorStatistics.
 void refresh()
          Refresh the statistics from whatever original source they came from.
 void reset()
          Resets the statistics to their default values.
 

Method Detail

getId

public String getId()
Returns the string that uniquely identifies one instance of SensorStatistics.

Returns:
the string that uniquely identifies one instance of SensorStatistics.

getLabels

public Set getLabels()
Returns a Set<String> of all labels associated with an instance of SensorStatistics.

Returns:
a Set<String> of all labels associated with an instance of SensorStatistics.

refresh

public void refresh()
Refresh the statistics from whatever original source they came from.


reset

public void reset()
Resets the statistics to their default values.



Copyright © 2005-2006 SourceForge. All Rights Reserved.