|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReplicationListener
ReplicationListener provides an interface to listen for
synchronous replications.
| Field Summary | |
|---|---|
static ReplicationListener |
NOP
Dummy implementation that does nothig. |
| Method Summary | |
|---|---|
void |
onEnd(Agent agent,
ReplicationAction action,
ReplicationResult result)
Called when a replication finished. |
void |
onError(Agent agent,
ReplicationAction action,
Exception error)
Called when an exception during replication occurrs |
void |
onMessage(ReplicationLog.Level level,
String message)
Called when a message to the replication log is written. |
void |
onStart(Agent agent,
ReplicationAction action)
Called when the replication (transport) is about to begin, i.e. |
| Field Detail |
|---|
static final ReplicationListener NOP
| Method Detail |
|---|
void onStart(Agent agent,
ReplicationAction action)
agent - the replication agentaction - the action
void onMessage(ReplicationLog.Level level,
String message)
level - the log levelmessage - the message
void onEnd(Agent agent,
ReplicationAction action,
ReplicationResult result)
agent - the replication agentaction - the actionresult - the replication result.
void onError(Agent agent,
ReplicationAction action,
Exception error)
agent - the replication agentaction - the actionerror - the error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||