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:
 com.j_spaces.core.admin.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
 
 
getTotalDummyObj
public int getTotalDummyObj()
 
 
setTotalDummyObj
public void setTotalDummyObj(int totalDummyObj)
 
 
incrementTotalDummyObjects
public void incrementTotalDummyObjects()
 
 
incrementCounter
public int incrementCounter()
 
 
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:
 - Source 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
 
 
getPendingNotifyTempl
public List<com.j_spaces.core.cluster.SyncPacket> getPendingNotifyTempl()
 
 
addPendingNotifyTemplate
public void addPendingNotifyTemplate(com.j_spaces.core.cluster.SyncPacket notifyTemplate)
 
 
addStatus
public void addStatus(SpaceCopyStatus spaceCopyStatus)
- Adds given status data to this status.
 Used to merge different space statuses
 
- Parameters:
 spaceCopyStatus - 
 
 
getWriteEntries
public HashMap<String,Integer> getWriteEntries()
 
 
getDuplicateUID
public HashMap<String,String> getDuplicateUID()