public abstract static class OperationRequest.Builder<T extends OperationRequest.Builder<T,U>,U extends OperationRequest> extends SessionRequest.Builder<T,U>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
withOperation(RaftOperation operation)
Sets the request operation.
|
T |
withSequence(long sequence)
Sets the request sequence number.
|
withSessionpublic T withSequence(long sequence)
sequence - The request sequence number.IllegalArgumentException - If the request sequence number is not positive.public T withOperation(RaftOperation operation)
operation - The operation.NullPointerException - if the request operation is nullCopyright © 2013–2017. All rights reserved.