|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SynchronizationAction<T extends SynchronizationActionContext>
Encapsulates a single action needed to help synchronize the contents of one node's repository with the rest of the cluster.
Method Summary | |
---|---|
void |
cancel()
Cancel the action. |
void |
complete()
Execute the action and if successful mark it as complete. |
T |
getContext()
Gets the contextual information for the set of actions of which this object is a member. |
ContentModification |
getRepositoryContentModification()
Gets the metadata describing this action. |
boolean |
isCancelled()
Gets whether complete() has been invoked. |
boolean |
isComplete()
Gets whether complete() has been invoked. |
Method Detail |
---|
T getContext()
null
ContentModification getRepositoryContentModification()
null
void cancel()
void complete()
boolean isComplete()
complete()
has been invoked.
true
if complete()
has been invokedboolean isCancelled()
complete()
has been invoked.
true
if complete()
has been invoked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |