@InterfaceAudience.Public public class ReplicationLoadSource extends Object
Modifier and Type | Field and Description |
---|---|
private long |
ageOfLastShippedOp |
private String |
peerID |
private long |
replicationLag |
private int |
sizeOfLogQueue |
private long |
timestampOfLastShippedOp |
Constructor and Description |
---|
ReplicationLoadSource(String id,
long age,
int size,
long timestamp,
long lag) |
Modifier and Type | Method and Description |
---|---|
long |
getAgeOfLastShippedOp() |
String |
getPeerID() |
long |
getReplicationLag() |
long |
getSizeOfLogQueue() |
long |
getTimestampOfLastShippedOp() |
long |
getTimeStampOfLastShippedOp()
Deprecated.
Since 2.0.0. Will be removed in 3.0.0.
|
private final long ageOfLastShippedOp
private final int sizeOfLogQueue
private final long timestampOfLastShippedOp
private final long replicationLag
@InterfaceAudience.Private public ReplicationLoadSource(String id, long age, int size, long timestamp, long lag)
public long getAgeOfLastShippedOp()
public long getSizeOfLogQueue()
@Deprecated public long getTimeStampOfLastShippedOp()
getTimestampOfLastShippedOp()
public long getTimestampOfLastShippedOp()
public long getReplicationLag()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.