com.netflix.curator.framework.recipes.shared
Interface SharedCountListener
- All Superinterfaces:
- ConnectionStateListener
public interface SharedCountListener
- extends ConnectionStateListener
Listener for changes to a shared count
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 © 2012. All Rights Reserved.