| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.federation.router |
The router package includes the core services for a HDFS federation router.
|
| 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 | Description |
|---|---|---|
RouterServiceState |
Router.getRouterState() |
Get the status of the router.
|
static RouterServiceState |
RouterServiceState.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RouterServiceState[] |
RouterServiceState.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
Router.isRouterState(RouterServiceState routerState) |
Compare router state.
|
void |
Router.updateRouterState(RouterServiceState newState) |
Update the router state and heartbeat to the state store.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract RouterServiceState |
RouterState.getStatus() |
| Modifier and Type | Method | Description |
|---|---|---|
static RouterState |
RouterState.newInstance(java.lang.String addr,
long startTime,
RouterServiceState status) |
|
abstract void |
RouterState.setStatus(RouterServiceState newStatus) |
| Modifier and Type | Method | Description |
|---|---|---|
RouterServiceState |
RouterStatePBImpl.getStatus() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
RouterStatePBImpl.setStatus(RouterServiceState newStatus) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.