public static final class ReplicationLoadSource.ReplicationLoadSourceBuilder extends Object
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 |
ReplicationLoadSourceBuilder() |
private long ageOfLastShippedOp
private int sizeOfLogQueue
private long timestampOfLastShippedOp
private long replicationLag
private long timeStampOfNextToReplicate
private boolean recovered
private boolean running
private boolean editsSinceRestart
private long editsRead
private long oPsShipped
private ReplicationLoadSourceBuilder()
public ReplicationLoadSource.ReplicationLoadSourceBuilder setTimeStampOfNextToReplicate(long timeStampOfNextToReplicate)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setPeerID(String peerID)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setAgeOfLastShippedOp(long ageOfLastShippedOp)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setSizeOfLogQueue(int sizeOfLogQueue)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setTimestampOfLastShippedOp(long timestampOfLastShippedOp)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setReplicationLag(long replicationLag)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setQueueId(String queueId)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setRecovered(boolean recovered)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setRunning(boolean running)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setEditsSinceRestart(boolean editsSinceRestart)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setEditsRead(long editsRead)
public ReplicationLoadSource.ReplicationLoadSourceBuilder setoPsShipped(long oPsShipped)
public ReplicationLoadSource build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.