public interface IEnergyWatcher
IEnergyWatcherHost to a grid.| Modifier and Type | Method and Description |
|---|---|
boolean |
add(double amount)
Add a specific threshold to watch.
|
boolean |
remove(double amount)
Remove a specific threshold from the watcher.
|
void |
reset()
Removes all thresholds and resets the watcher to a clean state.
|
boolean add(@Nonnegative
double amount)
amount - boolean remove(@Nonnegative
double amount)
amount - void reset()