org.apache.curator.framework.recipes.shared
Interface SharedValueListener
- All Superinterfaces:
- org.apache.curator.framework.state.ConnectionStateListener
public interface SharedValueListener
- extends org.apache.curator.framework.state.ConnectionStateListener
Listener for changes to a shared value
| Methods inherited from interface org.apache.curator.framework.state.ConnectionStateListener |
stateChanged |
valueHasChanged
void valueHasChanged(SharedValueReader sharedValue,
byte[] newValue)
throws Exception
- Called when the shared value has changed
- Parameters:
sharedValue - the shared value instancenewValue - the new value
- Throws:
Exception - errors
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.