| Package | Description |
|---|---|
| com.vesoft.nebula.meta |
| Modifier and Type | Field and Description |
|---|---|
HostRole |
HBReq.role |
HostRole |
HostItem.role |
HostRole |
ServiceInfo.role |
| Modifier and Type | Method and Description |
|---|---|
static HostRole |
HostRole.findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
HostRole |
HBReq.getRole() |
HostRole |
HostItem.getRole() |
HostRole |
ServiceInfo.getRole() |
static HostRole |
HostRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostRole[] |
HostRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
HBReq |
HBReq.setRole(HostRole role) |
HBReq.Builder |
HBReq.Builder.setRole(HostRole role) |
HostItem |
HostItem.setRole(HostRole role) |
HostItem.Builder |
HostItem.Builder.setRole(HostRole role) |
ServiceInfo |
ServiceInfo.setRole(HostRole role) |
ServiceInfo.Builder |
ServiceInfo.Builder.setRole(HostRole role) |
| Constructor and Description |
|---|
HBReq(HostRole role,
HostAddr host,
long cluster_id,
byte[] git_info_sha) |
HBReq(HostRole role,
HostAddr host,
long cluster_id,
Map<Integer,List<LeaderInfo>> leader_partIds,
byte[] git_info_sha,
Map<Integer,Map<byte[],PartitionList>> disk_parts,
DirInfo dir,
byte[] version) |
HostItem(HostAddr hostAddr,
HostStatus status,
Map<byte[],List<Integer>> leader_parts,
Map<byte[],List<Integer>> all_parts,
HostRole role,
byte[] git_info_sha) |
HostItem(HostAddr hostAddr,
HostStatus status,
Map<byte[],List<Integer>> leader_parts,
Map<byte[],List<Integer>> all_parts,
HostRole role,
byte[] git_info_sha,
byte[] zone_name,
byte[] version) |
ServiceInfo(DirInfo dir,
HostAddr addr,
HostRole role) |
Copyright © 2022. All rights reserved.