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

All Superinterfaces:
ConnectionStateListener

public interface SharedValueListener
extends ConnectionStateListener

Listener for changes to a shared value


Method Summary
 void valueHasChanged(SharedValueReader sharedValue, byte[] newValue)
          Called when the shared value has changed
 
Methods inherited from interface com.netflix.curator.framework.state.ConnectionStateListener
stateChanged
 

Method Detail

valueHasChanged

void valueHasChanged(SharedValueReader sharedValue,
                     byte[] newValue)
                     throws Exception
Called when the shared value has changed

Parameters:
sharedValue - the shared value instance
newValue - the new value
Throws:
Exception - errors


Copyright © 2012. All Rights Reserved.