Interface SharedValueListener
-
- All Superinterfaces:
org.apache.curator.framework.state.ConnectionStateListener
public interface SharedValueListener extends org.apache.curator.framework.state.ConnectionStateListenerListener for changes to a shared value
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalueHasChanged(SharedValueReader sharedValue, byte[] newValue)Called when the shared value has changed
-
-
-
Method Detail
-
valueHasChanged
void valueHasChanged(SharedValueReader sharedValue, byte[] newValue) throws java.lang.Exception
Called when the shared value has changed- Parameters:
sharedValue- the shared value instancenewValue- the new value- Throws:
java.lang.Exception- errors
-
-