public class CopyOnlySynchronizeSpaceReplicate extends Object implements ISpaceSynchronizeReplicaState
ISpaceCopyReplicaState
as a ISpaceSynchronizeReplicaState
that the sync
is considered done after the copy stageConstructor and Description |
---|
CopyOnlySynchronizeSpaceReplicate(ISpaceCopyReplicaState spaceCopyReplica) |
Modifier and Type | Method and Description |
---|---|
void |
abort(long timeout,
TimeUnit unit) |
ISpaceCopyResult |
getCopyResult() |
SpaceReplicaStage |
getStage() |
ISpaceSynchronizeResult |
getSynchronizeResult() |
boolean |
isDone() |
ISpaceCopyResult |
waitForCopyResult() |
ISpaceCopyResult |
waitForCopyResult(long time,
TimeUnit unit) |
ISpaceSynchronizeResult |
waitForSynchronizeCompletion() |
ISpaceSynchronizeResult |
waitForSynchronizeCompletion(long time,
TimeUnit unit) |
public CopyOnlySynchronizeSpaceReplicate(ISpaceCopyReplicaState spaceCopyReplica)
public ISpaceSynchronizeResult getSynchronizeResult()
getSynchronizeResult
in interface ISpaceSynchronizeReplicaState
public ISpaceSynchronizeResult waitForSynchronizeCompletion() throws InterruptedException
waitForSynchronizeCompletion
in interface ISpaceSynchronizeReplicaState
InterruptedException
public ISpaceSynchronizeResult waitForSynchronizeCompletion(long time, TimeUnit unit) throws InterruptedException, TimeoutException
waitForSynchronizeCompletion
in interface ISpaceSynchronizeReplicaState
InterruptedException
TimeoutException
public ISpaceCopyResult getCopyResult()
getCopyResult
in interface ISpaceCopyReplicaState
public SpaceReplicaStage getStage()
getStage
in interface ISpaceCopyReplicaState
public boolean isDone()
isDone
in interface ISpaceCopyReplicaState
public ISpaceCopyResult waitForCopyResult() throws InterruptedException
waitForCopyResult
in interface ISpaceCopyReplicaState
InterruptedException
public ISpaceCopyResult waitForCopyResult(long time, TimeUnit unit) throws InterruptedException, TimeoutException
waitForCopyResult
in interface ISpaceCopyReplicaState
InterruptedException
TimeoutException
public void abort(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException
abort
in interface ISpaceCopyReplicaState
InterruptedException
TimeoutException
Copyright © GigaSpaces.