Uses of Enum Class
org.apache.hadoop.hdfs.server.federation.router.RouterServiceState
Packages that use RouterServiceState
Package
Description
The router package includes the core services for a HDFS federation router.
Contains the abstract definitions of the state store data records.
The protobuf implementations of state store data records defined in the
org.apache.hadoop.hdfs.server.federation.store.records package.
-
Uses of RouterServiceState in org.apache.hadoop.hdfs.server.federation.router
Methods in org.apache.hadoop.hdfs.server.federation.router that return RouterServiceStateModifier and TypeMethodDescriptionRouter.getRouterState()Get the status of the router.static RouterServiceStateReturns the enum constant of this class with the specified name.static RouterServiceState[]RouterServiceState.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.hdfs.server.federation.router with parameters of type RouterServiceStateModifier and TypeMethodDescriptionbooleanRouter.isRouterState(RouterServiceState routerState) Compare router state.voidRouter.updateRouterState(RouterServiceState newState) Update the router state and heartbeat to the state store. -
Uses of RouterServiceState in org.apache.hadoop.hdfs.server.federation.store.records
Methods in org.apache.hadoop.hdfs.server.federation.store.records that return RouterServiceStateMethods in org.apache.hadoop.hdfs.server.federation.store.records with parameters of type RouterServiceStateModifier and TypeMethodDescriptionstatic RouterStateRouterState.newInstance(String addr, long startTime, RouterServiceState status) abstract voidRouterState.setStatus(RouterServiceState newStatus) -
Uses of RouterServiceState in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb
Methods in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb that return RouterServiceStateMethods in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb with parameters of type RouterServiceState