@ExperimentalApi public class IndexReplicationQueueSummary extends Object
Constructor and Description |
---|
IndexReplicationQueueSummary(String sendingNodeId,
IndexReplicationQueueEntry lastConsumedOperation,
IndexReplicationQueueEntry lastOperationInQueue,
Long queueSize)
Constructor with all object fields.
|
Modifier and Type | Method and Description |
---|---|
Optional<IndexReplicationQueueEntry> |
getLastConsumedOperation()
Returns the index replication operation last consumed from the queue.
|
Optional<IndexReplicationQueueEntry> |
getLastOperationInQueue()
Returns index replication operation last in queue.
|
long |
getQueueSize()
Returns size of index replication queue.
|
String |
getSendingNodeId()
Returns the ID of a node whose replication operations are in the queue.
|
public IndexReplicationQueueSummary(String sendingNodeId, IndexReplicationQueueEntry lastConsumedOperation, IndexReplicationQueueEntry lastOperationInQueue, Long queueSize)
sendingNodeId
- id of node that sent the replication requestlastConsumedOperation
- index replication operation last consumed from queuelastOperationInQueue
- index replication operation last in queuequeueSize
- size of index replication queuepublic String getSendingNodeId()
public Optional<IndexReplicationQueueEntry> getLastConsumedOperation()
public Optional<IndexReplicationQueueEntry> getLastOperationInQueue()
public long getQueueSize()
Copyright © 2002-2022 Atlassian. All Rights Reserved.