RouterClient (Apache Hadoop HDFS-RBF 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.federation.router, class: RouterClient

Package org.apache.hadoop.hdfs.server.federation.router

# Class RouterClient

java.lang.Object
org.apache.hadoop.hdfs.server.federation.router.RouterClient

All Implemented Interfaces:
  `Closeable`, `AutoCloseable`

@Private public class RouterClient extends Object implements Closeable
Client to connect to the `Router` via the admin protocol.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RouterClient(InetSocketAddress address, org.apache.hadoop.conf.Configuration conf)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `MountTableManager`
  `getMountTableManager()`
  `NameserviceManager`
  `getNameserviceManager()`
  `RouterGenericManager`
  `getRouterGenericManager()`
  `RouterStateManager`
  `getRouterStateManager()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RouterClient

    public RouterClient(InetSocketAddress address, org.apache.hadoop.conf.Configuration conf) throws IOException
    Throws:
      `IOException`

- ## Method Details

  - ### getMountTableManager

    public MountTableManager getMountTableManager()

  - ### getRouterStateManager

    public RouterStateManager getRouterStateManager()

  - ### getNameserviceManager

    public NameserviceManager getNameserviceManager()

  - ### getRouterGenericManager

    public RouterGenericManager getRouterGenericManager()

  - ### close

    public void close() throws IOException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Closeable`
    Throws:
      `IOException`