Package | Description |
---|---|
org.apache.hadoop.hdfs.server.federation.store.protocol |
Contains the abstract definitions of the API request and response objects for
the various state store APIs.
|
org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb |
Protobuf implementations of FederationProtocolBase request/response objects
used by state store APIs.
|
org.apache.hadoop.hdfs.server.federation.store.records |
Contains the abstract definitions of the state store data records.
|
org.apache.hadoop.hdfs.server.federation.store.records.impl.pb |
The protobuf implementations of state store data records defined in the
org.apache.hadoop.hdfs.server.federation.store.records package.
|
Modifier and Type | Method and Description |
---|---|
abstract MembershipState |
GetNamenodeRegistrationsRequest.getPartialMembership() |
Modifier and Type | Method and Description |
---|---|
abstract List<MembershipState> |
GetNamenodeRegistrationsResponse.getNamenodeMemberships() |
Modifier and Type | Method and Description |
---|---|
static NamenodeHeartbeatRequest |
NamenodeHeartbeatRequest.newInstance(MembershipState namenode) |
static GetNamenodeRegistrationsRequest |
GetNamenodeRegistrationsRequest.newInstance(MembershipState member) |
abstract void |
GetNamenodeRegistrationsRequest.setPartialMembership(MembershipState member) |
Modifier and Type | Method and Description |
---|---|
static GetNamenodeRegistrationsResponse |
GetNamenodeRegistrationsResponse.newInstance(List<MembershipState> records) |
abstract void |
GetNamenodeRegistrationsResponse.setNamenodeMemberships(List<MembershipState> records) |
Modifier and Type | Method and Description |
---|---|
MembershipState |
NamenodeHeartbeatRequestPBImpl.getNamenodeMembership() |
MembershipState |
GetNamenodeRegistrationsRequestPBImpl.getPartialMembership() |
Modifier and Type | Method and Description |
---|---|
List<MembershipState> |
GetNamenodeRegistrationsResponsePBImpl.getNamenodeMemberships() |
Modifier and Type | Method and Description |
---|---|
void |
NamenodeHeartbeatRequestPBImpl.setNamenodeMembership(MembershipState membership) |
void |
GetNamenodeRegistrationsRequestPBImpl.setPartialMembership(MembershipState member) |
Modifier and Type | Method and Description |
---|---|
void |
GetNamenodeRegistrationsResponsePBImpl.setNamenodeMemberships(List<MembershipState> records) |
Modifier and Type | Field and Description |
---|---|
static Comparator<MembershipState> |
MembershipState.NAME_COMPARATOR
Comparator based on the name.
|
Modifier and Type | Method and Description |
---|---|
static MembershipState |
MembershipState.newInstance()
Create a new membership instance.
|
static MembershipState |
MembershipState.newInstance(String router,
String nameservice,
String namenode,
String clusterId,
String blockPoolId,
String rpcAddress,
String serviceAddress,
String lifelineAddress,
String webScheme,
String webAddress,
FederationNamenodeServiceState state,
boolean safemode)
Create a new membership instance.
|
Modifier and Type | Method and Description |
---|---|
int |
MembershipState.compareNameTo(MembershipState other)
Sort by nameservice, namenode, and router.
|
Modifier and Type | Class and Description |
---|---|
class |
MembershipStatePBImpl
Protobuf implementation of the MembershipState record.
|
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.