Uses of Class org.apache.hadoop.hdfs.server.federation.router.ConnectionContext (Apache Hadoop HDFS-RBF 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.federation.router, class: ConnectionContext

# Uses of Class
org.apache.hadoop.hdfs.server.federation.router.ConnectionContext

Packages that use ConnectionContext
Package
Description
org.apache.hadoop.hdfs.server.federation.router
The router package includes the core services for a HDFS federation router.

- ## Uses of ConnectionContext in org.apache.hadoop.hdfs.server.federation.router

  Methods in org.apache.hadoop.hdfs.server.federation.router that return ConnectionContext
  Modifier and Type
  Method
  Description
  `ConnectionContext`
  ConnectionManager.`getConnection(org.apache.hadoop.security.UserGroupInformation ugi, String nnAddress, Class<?> protocol, String nsId)`
  Fetches the next available proxy client in the pool.
  `protected ConnectionContext`
  ConnectionPool.`getConnection()`
  Return the next connection round-robin.
  `protected ConnectionContext`
  RouterRpcClient.`getConnection(org.apache.hadoop.security.UserGroupInformation ugi, String nsId, String rpcAddress, Class<?> proto)`
  Get ClientProtocol proxy client for a NameNode.
  `ConnectionContext`
  ConnectionPool.`newConnection()`
  Create a new proxy wrapper for a client NN connection.
  `protected static <T> ConnectionContext`
  ConnectionPool.`newConnection(org.apache.hadoop.conf.Configuration conf, String nnAddress, org.apache.hadoop.security.UserGroupInformation ugi, Class<T> proto, boolean enableMultiSocket, int socketIndex, org.apache.hadoop.ipc.AlignmentContext alignmentContext)`
  Creates a proxy wrapper for a client NN connection.
  Methods in org.apache.hadoop.hdfs.server.federation.router that return types with arguments of type ConnectionContext
  Modifier and Type
  Method
  Description
  `List<ConnectionContext>`
  ConnectionPool.`removeConnections(int num)`
  Remove connections from the current pool.
  Methods in org.apache.hadoop.hdfs.server.federation.router with parameters of type ConnectionContext
  Modifier and Type
  Method
  Description
  `void`
  ConnectionPool.`addConnection(ConnectionContext conn)`
  Add a connection to the current pool.