K - the type of keys to associate values with.public interface SignalProbe<K>
| Modifier and Type | Method and Description |
|---|---|
default void |
monitor(K key)
Notify this observer of an event associated with a given key.
|
default void |
monitor(K key,
boolean value)
Notify this observer of a
boolean signal value associated with a
given key. |
default void |
monitor(K key,
double value)
Notify this observer of a
double signal value associated with a
given key. |
default void |
monitor(K key,
float value)
Notify this observer of a
float signal value associated with a
given key. |
default void |
monitor(K key,
int value)
Notify this observer of a
int signal value associated with a
given key. |
default void |
monitor(K key,
long value)
Notify this observer of a
long signal value associated with a
given key. |
default void |
monitor(K key,
Object value)
Notify this observer of a signal value object associated with a
given key.
|
default void monitor(K key, boolean value)
boolean signal value associated with a
given key.key - the keyvalue - the current valuedefault void monitor(K key, int value)
int signal value associated with a
given key.key - the keyvalue - the current valuedefault void monitor(K key, long value)
long signal value associated with a
given key.key - the keyvalue - the current valuedefault void monitor(K key, float value)
float signal value associated with a
given key.key - the keyvalue - the current valuedefault void monitor(K key, double value)
double signal value associated with a
given key.key - the keyvalue - the current valuedefault void monitor(K key, Object value)
key - the keyvalue - the current valuedefault void monitor(K key)
key - the key