GigaSpaces XAP 9.1 API

com.j_spaces.core.filters
Class ReplicationStatistics.OutgoingReplication

java.lang.Object
  extended by com.j_spaces.core.filters.ReplicationStatistics.OutgoingReplication
All Implemented Interfaces:
Externalizable, Serializable
Enclosing class:
ReplicationStatistics

public static class ReplicationStatistics.OutgoingReplication
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
ReplicationStatistics.OutgoingReplication()
           
ReplicationStatistics.OutgoingReplication(com.gigaspaces.cluster.replication.IRedoLogStatistics redoLogStatistics, Collection<ReplicationStatistics.OutgoingChannel> outChannels)
           
 
Method Summary
 List<ReplicationStatistics.OutgoingChannel> getChannels()
           
 List<ReplicationStatistics.OutgoingChannel> getChannels(ReplicationStatistics.ReplicationMode... modes)
           
 long getFirstKeyInRedoLog()
           
 long getLastConfirmedKey()
           
 long getLastKeyInRedoLog()
           
 long getNumOfPacketsToReplicate()
           
 long getRedoLogExternalStoragePacketCount()
           
 long getRedoLogExternalStorageSpaceUsed()
           
 long getRedoLogMemoryPacketCount()
           
 long getRedoLogSize()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplicationStatistics.OutgoingReplication

public ReplicationStatistics.OutgoingReplication()

ReplicationStatistics.OutgoingReplication

public ReplicationStatistics.OutgoingReplication(com.gigaspaces.cluster.replication.IRedoLogStatistics redoLogStatistics,
                                                 Collection<ReplicationStatistics.OutgoingChannel> outChannels)
Method Detail

getNumOfPacketsToReplicate

public long getNumOfPacketsToReplicate()

getLastKeyInRedoLog

public long getLastKeyInRedoLog()

getFirstKeyInRedoLog

public long getFirstKeyInRedoLog()

getLastConfirmedKey

public long getLastConfirmedKey()

getRedoLogSize

public long getRedoLogSize()
Returns:
number of packets awaiting replication

getRedoLogMemoryPacketCount

public long getRedoLogMemoryPacketCount()
Returns:
number of packets awaiting replication that are stored inside the jvm memory

getRedoLogExternalStoragePacketCount

public long getRedoLogExternalStoragePacketCount()
Returns:
number of packets awaiting replication that are stored outside of the jvm memory (on disk)

getRedoLogExternalStorageSpaceUsed

public long getRedoLogExternalStorageSpaceUsed()
Returns:
number of bytes used in external storage to hold packets that are awaiting replication (on disk)

toString

public String toString()
Overrides:
toString in class Object

getChannels

public List<ReplicationStatistics.OutgoingChannel> getChannels()

getChannels

public List<ReplicationStatistics.OutgoingChannel> getChannels(ReplicationStatistics.ReplicationMode... modes)

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.