@InterfaceAudience.Private public final class ReplicationStatus extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReplicationStatus.ReplicationStatusBuilder |
Modifier and Type | Field and Description |
---|---|
private long |
ageOfLastShippedOp |
private org.apache.hadoop.fs.Path |
currentPath |
private long |
currentPosition |
private long |
fileSize |
private String |
peerId |
private int |
queueSize |
private long |
replicationDelay |
private String |
walGroup |
Modifier | Constructor and Description |
---|---|
private |
ReplicationStatus(ReplicationStatus.ReplicationStatusBuilder builder) |
Modifier and Type | Method and Description |
---|---|
long |
getAgeOfLastShippedOp() |
org.apache.hadoop.fs.Path |
getCurrentPath() |
long |
getCurrentPosition() |
long |
getFileSize() |
String |
getPeerId() |
int |
getQueueSize() |
long |
getReplicationDelay() |
String |
getWalGroup() |
static ReplicationStatus.ReplicationStatusBuilder |
newBuilder() |
private final org.apache.hadoop.fs.Path currentPath
private final int queueSize
private final long ageOfLastShippedOp
private final long replicationDelay
private final long currentPosition
private final long fileSize
private ReplicationStatus(ReplicationStatus.ReplicationStatusBuilder builder)
public long getCurrentPosition()
public long getFileSize()
public String getWalGroup()
public int getQueueSize()
public long getAgeOfLastShippedOp()
public long getReplicationDelay()
public org.apache.hadoop.fs.Path getCurrentPath()
public static ReplicationStatus.ReplicationStatusBuilder newBuilder()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.