public class SpaceCopyIntermediateResult extends Object implements ISpaceCopyIntermediateResult, ISpaceCopyResult
Constructor and Description |
---|
SpaceCopyIntermediateResult() |
SpaceCopyIntermediateResult(Map<String,Integer> writtenTypesCount,
Map<String,Integer> notifyTemplateTypesCount,
Map<String,String> duplicateEntries,
int totalCopiedObjects,
int blockedByFilterEntries,
Exception failureReason,
ConcurrentHashSet<EventRegistration> notifyRegistrations) |
Modifier and Type | Method and Description |
---|---|
void |
addDuplicateEntry(String uid,
String className) |
void |
addRegisteredNotifyTemplate(String templateClassName,
GSEventRegistration notifyRegistration) |
Exception |
getFailureReason() |
Set<EventRegistration> |
getNotifyRegistrations() |
String |
getStringDescription(String remoteSpaceMember,
String remoteMemberUrl,
String spaceName,
boolean spaceSyncOperation,
long duration) |
void |
increaseNotifyTemplateTypeCount(String className) |
void |
increaseWritenTypeCount(String className) |
void |
incrementBlockedByFilterEntry() |
boolean |
isEmpty() |
boolean |
isFailed() |
boolean |
isSuccessful() |
ISpaceCopyIntermediateResult |
merge(ISpaceCopyIntermediateResult mergeWith) |
ISpaceCopyIntermediateResult |
mergeFailure(Exception failureReason) |
ISpaceCopyResult |
toFinalResult() |
SpaceCopyStatus |
toOldResult(short operationType,
String targetMember) |
public SpaceCopyIntermediateResult()
public SpaceCopyIntermediateResult(Map<String,Integer> writtenTypesCount, Map<String,Integer> notifyTemplateTypesCount, Map<String,String> duplicateEntries, int totalCopiedObjects, int blockedByFilterEntries, Exception failureReason, ConcurrentHashSet<EventRegistration> notifyRegistrations)
public ISpaceCopyIntermediateResult merge(ISpaceCopyIntermediateResult mergeWith)
merge
in interface ISpaceCopyIntermediateResult
public ISpaceCopyIntermediateResult mergeFailure(Exception failureReason)
mergeFailure
in interface ISpaceCopyIntermediateResult
public ISpaceCopyResult toFinalResult()
toFinalResult
in interface ISpaceCopyIntermediateResult
public void increaseWritenTypeCount(String className)
public void incrementBlockedByFilterEntry()
incrementBlockedByFilterEntry
in interface ISpaceCopyIntermediateResult
public void increaseNotifyTemplateTypeCount(String className)
public Exception getFailureReason()
getFailureReason
in interface ISpaceCopyResult
public boolean isEmpty()
isEmpty
in interface ISpaceCopyResult
public boolean isFailed()
isFailed
in interface ISpaceCopyResult
public boolean isSuccessful()
isSuccessful
in interface ISpaceCopyResult
public String getStringDescription(String remoteSpaceMember, String remoteMemberUrl, String spaceName, boolean spaceSyncOperation, long duration)
getStringDescription
in interface ISpaceCopyResult
public void addRegisteredNotifyTemplate(String templateClassName, GSEventRegistration notifyRegistration)
public Set<EventRegistration> getNotifyRegistrations()
public SpaceCopyStatus toOldResult(short operationType, String targetMember)
toOldResult
in interface ISpaceCopyResult
Copyright © GigaSpaces.