org.openanzo.services.replication
Interface IReplicationListener


public interface IReplicationListener

Listener for events from the IReplicationService

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
 void replicationCompleted(java.lang.Long marker)
          Event is fired when replication is completed.
 void replicationFailed(java.lang.Throwable exception)
          Event is fired when replication fails, and the exception that caused failure.
 void replicationStarted()
          Event is fired when replication starts to replicate data.
 void trackerRegistered(ITracker tracker)
          Fired when a new ITracker is registered with replication service.
 void trackerUnregistered(ITracker tracker)
          Fired when a ITracker is unregistered from replication service.
 

Method Detail

replicationStarted

void replicationStarted()
Event is fired when replication starts to replicate data.


replicationCompleted

void replicationCompleted(java.lang.Long marker)
Event is fired when replication is completed.

Parameters:
marker - Timestamp of last valid transaction seen during this replication

replicationFailed

void replicationFailed(java.lang.Throwable exception)
Event is fired when replication fails, and the exception that caused failure.

Parameters:
exception - Reason for replication failure

trackerRegistered

void trackerRegistered(ITracker tracker)
Fired when a new ITracker is registered with replication service.

Parameters:
tracker - ITracker that was registered

trackerUnregistered

void trackerUnregistered(ITracker tracker)
Fired when a ITracker is unregistered from replication service.

Parameters:
tracker - ITracker that was unregistered


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.