com.netflix.curator.framework.recipes.shared
Interface SharedCountListener

All Superinterfaces:
ConnectionStateListener

public interface SharedCountListener
extends ConnectionStateListener

Listener for changes to a shared count


Method Summary
 void countHasChanged(SharedCountReader sharedCount, int newCount)
          Called when the shared value has changed
 
Methods inherited from interface com.netflix.curator.framework.state.ConnectionStateListener
stateChanged
 

Method Detail

countHasChanged

void countHasChanged(SharedCountReader sharedCount,
                     int newCount)
                     throws Exception
Called when the shared value has changed

Parameters:
sharedCount - the shared count instance
newCount - the new count
Throws:
Exception - errors


Copyright © 2012. All Rights Reserved.