com.netflix.curator.framework.recipes.shared
Interface SharedCountListener
- All Superinterfaces:
- com.netflix.curator.framework.state.ConnectionStateListener
public interface SharedCountListener
- extends com.netflix.curator.framework.state.ConnectionStateListener
Listener for changes to a shared count
| Methods inherited from interface com.netflix.curator.framework.state.ConnectionStateListener |
stateChanged |
countHasChanged
void countHasChanged(SharedCountReader sharedCount,
int newCount)
throws java.lang.Exception
- Called when the shared value has changed
- Parameters:
sharedCount - the shared count instancenewCount - the new count
- Throws:
java.lang.Exception - errors