Class ReplicationLoadSource
java.lang.Object
org.apache.hadoop.hbase.replication.ReplicationLoadSource
A HBase ReplicationLoad to present MetricsSource information
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
ReplicationLoadSource
(String id, long age, int size, long timestamp, long timeStampOfNextToReplicate, long lag, String queueId, boolean recovered, boolean running, boolean editsSinceRestart, long editsRead, long oPsShipped) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
long
long
Deprecated.Since 2.0.0.long
boolean
boolean
boolean
-
Field Details
-
peerID
-
ageOfLastShippedOp
-
sizeOfLogQueue
-
timestampOfLastShippedOp
-
replicationLag
-
timeStampOfNextToReplicate
-
queueId
-
recovered
-
running
-
editsSinceRestart
-
editsRead
-
oPsShipped
-
-
Constructor Details
-
ReplicationLoadSource
@Private private ReplicationLoadSource(String id, long age, int size, long timestamp, long timeStampOfNextToReplicate, long lag, String queueId, boolean recovered, boolean running, boolean editsSinceRestart, long editsRead, long oPsShipped)
-
-
Method Details
-
getPeerID
-
getAgeOfLastShippedOp
-
getSizeOfLogQueue
-
getTimeStampOfLastShippedOp
Deprecated.Since 2.0.0. Will be removed in 3.0.0.Get the timestamp of the last shipped operation.- See Also:
-
getTimestampOfLastShippedOp
-
getReplicationLag
-
getTimeStampOfNextToReplicate
-
getQueueId
-
isRecovered
-
isRunning
-
hasEditsSinceRestart
-
getEditsRead
-
getOPsShipped
-
newBuilder
-