| Package | Description |
|---|---|
| <Unnamed> |
| Modifier and Type | Field and Description |
|---|---|
Role |
GetStateResponse.role |
| Modifier and Type | Method and Description |
|---|---|
static Role |
Role.findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
Role |
GetStateResponse.getRole() |
static Role |
Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
GetStateResponse |
GetStateResponse.setRole(Role role) |
GetStateResponse.Builder |
GetStateResponse.Builder.setRole(Role role) |
| Constructor and Description |
|---|
GetStateResponse(ErrorCode error_code,
Role role,
long term,
boolean is_leader,
long committed_log_id,
long last_log_id,
long last_log_term,
Status status) |
Copyright © 2022. All rights reserved.