com.j_spaces.core
Class SpaceCopyStatus
java.lang.Object
com.j_spaces.core.SpaceCopyStatus
- All Implemented Interfaces:
- Serializable
public class SpaceCopyStatus
- extends Object
- implements Serializable
Contains all information about space copy operation.
- Since:
- 5.01
- See Also:
IRemoteJSpaceAdmin.spaceCopy(String, Entry, boolean, int)
,
Serialized Form
NULL_TEMPLATE
public static final String NULL_TEMPLATE
- Constant for Notify NULL template
- See Also:
- Constant Field Values
getTotalCopyObj
public int getTotalCopyObj()
- Returns:
- Total copied object from target member including notify templates.
getSourceMemberName
public String getSourceMemberName()
- Returns:
- The source member name from where all data have been copied.
getTargetMemberName
public String getTargetMemberName()
- Returns:
- The target member name where all data have been copied to.
getSourceMemberURL
public SpaceURL getSourceMemberURL()
- Returns:
- Target member URL.
getCauseException
public Exception getCauseException()
- Returns:
- Cause exception happened during space-copy operation.
getTotalBlockedEntriesByFilter
public int getTotalBlockedEntriesByFilter()
- Returns:
- Total blocked( IReplicationFilterEntry.discard() ) entries by Replication Input Filter.
getTotalCopiedEntries
public Map<String,Integer> getTotalCopiedEntries()
- Returns:
- Status of copied entries where Map.Entry.getKey(): classname and Map.Entry.getValue(): count.
getTotalCopiedNotifyTemplates
public Map<String,Integer> getTotalCopiedNotifyTemplates()
- Returns:
- Status of copied templates where Map.Entry.getKey(): classname and Map.Entry.getValue(): count.
NOTE: The key of notify
null
templates is presented as String: NULL_NOTIFY_TEMPLATE.
getTotalDuplicateEntries
public Map<String,String> getTotalDuplicateEntries()
- Returns:
- Status of duplicate UID's already exist in target space. Key - UID, value - className.
toString
public String toString()
- Overrides:
toString
in class Object