@InterfaceAudience.Public public final class ReplicationLoadSource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReplicationLoadSource.ReplicationLoadSourceBuilder |
Modifier and Type | Field and Description |
---|---|
private long |
ageOfLastShippedOp |
private long |
editsRead |
private boolean |
editsSinceRestart |
private long |
oPsShipped |
private String |
peerID |
private String |
queueId |
private boolean |
recovered |
private long |
replicationLag |
private boolean |
running |
private int |
sizeOfLogQueue |
private long |
timestampOfLastShippedOp |
private long |
timeStampOfNextToReplicate |
Modifier | Constructor and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
long |
getAgeOfLastShippedOp() |
long |
getEditsRead() |
long |
getOPsShipped() |
String |
getPeerID() |
String |
getQueueId() |
long |
getReplicationLag() |
long |
getSizeOfLogQueue() |
long |
getTimestampOfLastShippedOp() |
long |
getTimeStampOfLastShippedOp()
Deprecated.
Since 2.0.0. Will be removed in 3.0.0.
|
long |
getTimeStampOfNextToReplicate() |
boolean |
hasEditsSinceRestart() |
boolean |
isRecovered() |
boolean |
isRunning() |
static ReplicationLoadSource.ReplicationLoadSourceBuilder |
newBuilder() |
private final long ageOfLastShippedOp
private final int sizeOfLogQueue
private final long timestampOfLastShippedOp
private final long replicationLag
private long timeStampOfNextToReplicate
private boolean recovered
private boolean running
private boolean editsSinceRestart
private long editsRead
private long oPsShipped
@InterfaceAudience.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)
public long getAgeOfLastShippedOp()
public long getSizeOfLogQueue()
@Deprecated public long getTimeStampOfLastShippedOp()
getTimestampOfLastShippedOp()
public long getTimestampOfLastShippedOp()
public long getReplicationLag()
public long getTimeStampOfNextToReplicate()
public String getQueueId()
public boolean isRecovered()
public boolean isRunning()
public boolean hasEditsSinceRestart()
public long getEditsRead()
public long getOPsShipped()
public static ReplicationLoadSource.ReplicationLoadSourceBuilder newBuilder()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.