com.j_spaces.core.filters
Class ReplicationStatistics.OutgoingReplication
java.lang.Object
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
ReplicationStatistics.OutgoingReplication
public ReplicationStatistics.OutgoingReplication()
ReplicationStatistics.OutgoingReplication
public ReplicationStatistics.OutgoingReplication(com.gigaspaces.cluster.replication.IReplicator replicator)
throws com.j_spaces.core.sadapter.SAException
- Throws:
com.j_spaces.core.sadapter.SAException
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()
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
Copyright © GigaSpaces.