public class FailedSyncSpaceReplicateState extends Object implements ISpaceSynchronizeReplicaState, ISpaceCopyResult, ISpaceSynchronizeResult
Modifier and Type | Method and Description |
---|---|
void |
abort(long timeout,
TimeUnit units) |
static ISpaceSynchronizeReplicaState |
createFailedSyncState(Exception failureReason) |
ISpaceCopyResult |
getCopyResult() |
Exception |
getFailureReason() |
SpaceReplicaStage |
getStage() |
String |
getStringDescription(String remoteSpaceMember,
String remoteMemberUrl,
String spaceName,
boolean spaceSyncOperation,
long duration) |
ISpaceSynchronizeResult |
getSynchronizeResult() |
boolean |
isDone() |
boolean |
isEmpty() |
boolean |
isFailed() |
boolean |
isSuccessful() |
SpaceCopyStatus |
toOldResult(short operationType,
String targetMember) |
ISpaceCopyResult |
waitForCopyResult() |
ISpaceCopyResult |
waitForCopyResult(long time,
TimeUnit unit) |
ISpaceSynchronizeResult |
waitForSynchronizeCompletion() |
ISpaceSynchronizeResult |
waitForSynchronizeCompletion(long time,
TimeUnit unit) |
public static ISpaceSynchronizeReplicaState createFailedSyncState(Exception failureReason)
public boolean isDone()
isDone
in interface ISpaceCopyReplicaState
public SpaceReplicaStage getStage()
getStage
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 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 Exception getFailureReason()
getFailureReason
in interface ISpaceCopyResult
getFailureReason
in interface ISpaceSynchronizeResult
public boolean isFailed()
isFailed
in interface ISpaceCopyResult
isFailed
in interface ISpaceSynchronizeResult
public boolean isSuccessful()
isSuccessful
in interface ISpaceCopyResult
public ISpaceCopyResult getCopyResult()
getCopyResult
in interface ISpaceCopyReplicaState
public boolean isEmpty()
isEmpty
in interface ISpaceCopyResult
public void abort(long timeout, TimeUnit units)
abort
in interface ISpaceCopyReplicaState
public SpaceCopyStatus toOldResult(short operationType, String targetMember)
toOldResult
in interface ISpaceCopyResult
public String getStringDescription(String remoteSpaceMember, String remoteMemberUrl, String spaceName, boolean spaceSyncOperation, long duration)
getStringDescription
in interface ISpaceCopyResult
Copyright © GigaSpaces.