|
IBM WebSphere® DataPower® XC10 Appliance Release 2.1 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationMapListener
This interface is used to create an implementation of an event listener for client-side maps that are in replication mode. Registered listeners receive notification callbacks for replication start and exit events and data changes.
Listener instances can be registered with a map using the
ClientReplicableMap.enableClientReplication(com.ibm.websphere.objectgrid.ClientReplicableMap.Mode, int[], ReplicationMapListener)
method.
Method Summary | |
---|---|
void |
onData(LogSequence logSequence)
This method is invoked when a data change is replicated to the client replication map. |
void |
replicationExits()
This method is invoked when replication has been disabled for this map. |
void |
replicationStarts()
This method is invoked when a snapshot mode replica has been synchronized with the client or a continuous replica has started replicating. |
Method Detail |
---|
void replicationStarts()
void onData(LogSequence logSequence)
logSequence
- the log sequence containing all of the data changes.void replicationExits()
ClientReplicableMap.disableClientReplication()
|
IBM WebSphere® DataPower® XC10 Appliance Release 2.1 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |