public interface ModifiableProbe<ValueType> extends Probe<ValueType>
Probe
.Unlike other Probe
s, you don't need to register listeners
to update this probe's value. But you can instead rely on updates
from other Probes for instance.
Modifier and Type | Method and Description |
---|---|
void |
setValue(ValueType value)
Updates the probe's value.
|
discard, getKey, getParent, getValue, isDiscarded, setup
addGlobalListener, addListener, cancelNotifications, cleanupListeners, clone, disableNotifications, enableNotifications, getGlobalListeners, getListeners, isNotificationsDisabled, notify, notifyNow, removeAllGlobalListeners, removeAllListeners, removeAllListeners, removeGlobalListener, removeListener
void setValue(ValueType value)
A CoreNotificationCodes.PROBE_VALUE_CHANGED
is thrown.
value
- IllegalStateException
- if the probe is discardedProbe.isDiscarded()