com.netflix.curator.framework.recipes.shared
Interface SharedValueListener
- All Superinterfaces:
- com.netflix.curator.framework.state.ConnectionStateListener
public interface SharedValueListener
- extends com.netflix.curator.framework.state.ConnectionStateListener
Listener for changes to a shared value
| Methods inherited from interface com.netflix.curator.framework.state.ConnectionStateListener |
stateChanged |
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