public class LeaveRequest extends ConfigurationRequest
The leave request is the mechanism by which servers remove themselves from a cluster. When a server wants to leave a cluster, it must submit a leave request to the leader. The leader will attempt to commit the configuration change and, if successful, respond to the join request with the updated configuration.
| Modifier and Type | Class and Description |
|---|---|
static class |
LeaveRequest.Builder
Leave request builder.
|
| Constructor and Description |
|---|
LeaveRequest(RaftMember member) |
| Modifier and Type | Method and Description |
|---|---|
static LeaveRequest.Builder |
newBuilder()
Returns a new leave request builder.
|
equals, hashCode, member, toStringpublic LeaveRequest(RaftMember member)
public static LeaveRequest.Builder newBuilder()
Copyright © 2013–2017. All rights reserved.