|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface with the replication functionality
| Method Summary | |
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. |
| Method Detail |
public 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 bean
public void replicate(RequestId reqId,
java.lang.Object response)
throws ReplicationException
reqId - the request idresponse - the response to return to the client
ReplicationException
public void replicateRemove(RequestId requestId)
throws ReplicationException
requestId - identifies the requestId to remove in the backups
ReplicationException
public ResponseInfo 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 state
public void clear()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||