GigaSpaces XAP 7.0 API

com.j_spaces.core
Interface SpaceCopyStatus

All Superinterfaces:
Serializable

public interface SpaceCopyStatus
extends Serializable

Contains all information about space copy operation.

Since:
5.01
Author:
Igor Goldenberg
See Also:
IRemoteJSpaceAdmin.spaceCopy(IJSpace, Object, boolean, int)

Method Summary
 void addPendingNotifyTemplate(com.gigaspaces.cluster.replication.SyncPacket notifyTemplate)
           
 void addStatus(SpaceCopyStatus spaceCopyStatus)
          Adds given status data to this status.
 Exception getCauseException()
           
 HashMap<String,String> getDuplicateUID()
           
 HashSet<net.jini.core.event.EventRegistration> getNotifyTemplRegistration()
           
 List<com.gigaspaces.cluster.replication.SyncPacket> getPendingNotifyTempl()
           
 String getSourceMemberName()
           
 SpaceURL getSourceMemberURL()
           
 String getTargetMemberName()
           
 int getTotalBlockedEntriesByFilter()
           
 Map<String,Integer> getTotalCopiedEntries()
           
 Map<String,Integer> getTotalCopiedNotifyTemplates()
           
 int getTotalCopyObj()
           
 int getTotalDummyObj()
           
 Map<String,String> getTotalDuplicateEntries()
           
 HashMap<String,Integer> getWriteEntries()
           
 int incrementCounter()
           
 void incrementTotalDummyObjects()
           
 void setTotalDummyObj(int totalDummyObj)
           
 

Method Detail

getTotalDummyObj

int getTotalDummyObj()

setTotalDummyObj

void setTotalDummyObj(int totalDummyObj)

incrementTotalDummyObjects

void incrementTotalDummyObjects()

incrementCounter

int incrementCounter()

getTotalCopyObj

int getTotalCopyObj()
Returns:
Total copied object from target member including notify templates.

getSourceMemberName

String getSourceMemberName()
Returns:
The source member name from where all data have been copied.

getTargetMemberName

String getTargetMemberName()
Returns:
The target member name where all data have been copied to.

getSourceMemberURL

SpaceURL getSourceMemberURL()
Returns:
Source member URL.

getCauseException

Exception getCauseException()
Returns:
Cause exception happened during space-copy operation.

getTotalBlockedEntriesByFilter

int getTotalBlockedEntriesByFilter()
Returns:
Total blocked( IReplicationFilterEntry.discard() ) entries by Replication Input Filter.

getTotalCopiedEntries

Map<String,Integer> getTotalCopiedEntries()
Returns:
Status of copied entries where Map.Entry.getKey(): classname and Map.Entry.getValue(): count.

getTotalCopiedNotifyTemplates

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

Map<String,String> getTotalDuplicateEntries()
Returns:
Status of duplicate UID's already exist in target space. Key - UID, value - className.

getPendingNotifyTempl

List<com.gigaspaces.cluster.replication.SyncPacket> getPendingNotifyTempl()

addPendingNotifyTemplate

void addPendingNotifyTemplate(com.gigaspaces.cluster.replication.SyncPacket notifyTemplate)

addStatus

void addStatus(SpaceCopyStatus spaceCopyStatus)
Adds given status data to this status. Used to merge different space statuses

Parameters:
spaceCopyStatus -

getWriteEntries

HashMap<String,Integer> getWriteEntries()

getDuplicateUID

HashMap<String,String> getDuplicateUID()

getNotifyTemplRegistration

HashSet<net.jini.core.event.EventRegistration> getNotifyTemplRegistration()

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.