org.apache.curator.framework.recipes.shared
Interface SharedCountListener
- All Superinterfaces:
- org.apache.curator.framework.state.ConnectionStateListener
public interface SharedCountListener
- extends org.apache.curator.framework.state.ConnectionStateListener
Listener for changes to a shared count
| Methods inherited from interface org.apache.curator.framework.state.ConnectionStateListener |
stateChanged |
countHasChanged
void countHasChanged(SharedCountReader sharedCount,
int newCount)
throws Exception
- Called when the shared value has changed
- Parameters:
sharedCount - the shared count instancenewCount - the new count
- Throws:
Exception - errors
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.