public interface ReplicationManager
| Modifier and Type | Method and Description |
|---|---|
void |
addModifiedBean(RequestId reqId,
ObjectId bid,
byte[] state)
Correlates the changes made on a modified bean with a concrete client
request
|
void |
clear()
Clears/removes the elements used by the concrete implementation
|
void |
replicate(RequestId reqId,
java.lang.Object response)
Replicates the changes made on beans inside a concrete request context
|
void |
replicateRemove(RequestId requestId)
Replicates a remove method invocation over an EJB for a concrete objectId
|
ResponseInfo |
restoreBeanChanges(RequestId requestId,
java.lang.Object sfsw)
Restores the state for a bean through its remote interface.
|
void addModifiedBean(RequestId reqId, ObjectId bid, byte[] state)
reqId - the request id from the clientbid - the unique identifier for the instancestate - the state of the modified beanvoid replicate(RequestId reqId, java.lang.Object response) throws ReplicationException
reqId - the request idresponse - the response to return to the clientReplicationExceptionvoid replicateRemove(RequestId requestId) throws ReplicationException
requestId - identifies the requestId to remove in the backupsReplicationExceptionResponseInfo restoreBeanChanges(RequestId requestId, java.lang.Object sfsw)
requestId - the request id to access the state of the beansfsw - the sfsw that contains the instance where restore the statevoid clear()