Interface SharedCountListener
-
- All Superinterfaces:
org.apache.curator.framework.state.ConnectionStateListener
public interface SharedCountListener extends org.apache.curator.framework.state.ConnectionStateListenerListener for changes to a shared count
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcountHasChanged(SharedCountReader sharedCount, int newCount)Called when the shared value has changed
-
-
-
Method Detail
-
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
-
-