com.j_spaces.core
Class SpaceCopyStatus

java.lang.Object
  extended by 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

Field Summary
static String NULL_TEMPLATE
          Constant for Notify NULL template
 
Method Summary
 Exception getCauseException()
           
 String getSourceMemberName()
           
 SpaceURL getSourceMemberURL()
           
 String getTargetMemberName()
           
 int getTotalBlockedEntriesByFilter()
           
 Map<String,Integer> getTotalCopiedEntries()
           
 Map<String,Integer> getTotalCopiedNotifyTemplates()
           
 int getTotalCopyObj()
           
 Map<String,String> getTotalDuplicateEntries()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL_TEMPLATE

public static final String NULL_TEMPLATE
Constant for Notify NULL template

See Also:
Constant Field Values
Method Detail

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