|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationStatePersister
Implementations of this interface provide persistence for replication state objects. This state should be persisted after completion of the data replication, and preferably within the same transaction to avoid duplicates in the face of failures.
Method Summary | |
---|---|
ReplicationState |
loadState()
Loads the existing state. |
void |
saveState(ReplicationState state)
Persists the state. |
boolean |
stateExists()
Checks if state currently exists. |
Method Detail |
---|
void saveState(ReplicationState state)
state
- The state to be persisted.ReplicationState loadState()
boolean stateExists()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |