org.apache.jackrabbit.core.cluster
Interface UpdateEventChannel


public interface UpdateEventChannel

Event channel used to transmit update operations.


Method Summary
 void setListener(UpdateEventListener listener)
          Set listener that will receive information about incoming, external update events.
 void updateCancelled(Update update)
          Called when an a update operation has been cancelled.
 void updateCommitted(Update update, String path)
          Called when an a update operation has been committed.
 void updateCreated(Update update)
          Called when an a update operation has been created.
 void updatePrepared(Update update)
          Called when an a update operation has been prepared.
 

Method Detail

updateCreated

void updateCreated(Update update)
Called when an a update operation has been created.

Parameters:
update - update operation

updatePrepared

void updatePrepared(Update update)
Called when an a update operation has been prepared.

Parameters:
update - update operation

updateCommitted

void updateCommitted(Update update,
                     String path)
Called when an a update operation has been committed.

Parameters:
update - update operation
path - the change path

updateCancelled

void updateCancelled(Update update)
Called when an a update operation has been cancelled.

Parameters:
update - update operation

setListener

void setListener(UpdateEventListener listener)
Set listener that will receive information about incoming, external update events.

Parameters:
listener - update event listener


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.