public static class ReplicationStatus.ReplicationStatusBuilder extends Object
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) |
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–2019 Cloudera. All rights reserved.