org.apache.curator.framework.api
Interface CuratorListener


public interface CuratorListener

Receives notifications about errors and background events


Method Summary
 void eventReceived(CuratorFramework client, CuratorEvent event)
          Called when a background task has completed or a watch has triggered
 

Method Detail

eventReceived

void eventReceived(CuratorFramework client,
                   CuratorEvent event)
                   throws Exception
Called when a background task has completed or a watch has triggered

Parameters:
client - client
event - the event
Throws:
Exception - any errors


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.