public static class ReplicationStatus.ReplicationStatusBuilder extends Object
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 |
Constructor and Description |
---|
ReplicationStatusBuilder() |
Modifier and Type | Method and Description |
---|---|
ReplicationStatus |
build() |
ReplicationStatus.ReplicationStatusBuilder |
withAgeOfLastShippedOp(long ageOfLastShippedOp) |
ReplicationStatus.ReplicationStatusBuilder |
withCurrentPath(org.apache.hadoop.fs.Path currentPath) |
ReplicationStatus.ReplicationStatusBuilder |
withCurrentPosition(long currentPosition) |
ReplicationStatus.ReplicationStatusBuilder |
withFileSize(long fileSize) |
ReplicationStatus.ReplicationStatusBuilder |
withPeerId(String peerId) |
ReplicationStatus.ReplicationStatusBuilder |
withQueueSize(int queueSize) |
ReplicationStatus.ReplicationStatusBuilder |
withReplicationDelay(long replicationDelay) |
ReplicationStatus.ReplicationStatusBuilder |
withWalGroup(String walGroup) |
private org.apache.hadoop.fs.Path currentPath
private int queueSize
private long ageOfLastShippedOp
private long replicationDelay
private long currentPosition
private long fileSize
public ReplicationStatusBuilder()
public ReplicationStatus.ReplicationStatusBuilder withPeerId(String peerId)
public ReplicationStatus.ReplicationStatusBuilder withFileSize(long fileSize)
public ReplicationStatus.ReplicationStatusBuilder withWalGroup(String walGroup)
public ReplicationStatus.ReplicationStatusBuilder withCurrentPath(org.apache.hadoop.fs.Path currentPath)
public ReplicationStatus.ReplicationStatusBuilder withQueueSize(int queueSize)
public ReplicationStatus.ReplicationStatusBuilder withAgeOfLastShippedOp(long ageOfLastShippedOp)
public ReplicationStatus.ReplicationStatusBuilder withReplicationDelay(long replicationDelay)
public ReplicationStatus.ReplicationStatusBuilder withCurrentPosition(long currentPosition)
public ReplicationStatus build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.