SecureDataNodeStarter.SecureResources (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.datanode, class: SecureDataNodeStarter, class: SecureResources

Package org.apache.hadoop.hdfs.server.datanode

# Class SecureDataNodeStarter.SecureResources

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.SecureResources

Enclosing class:
  SecureDataNodeStarter

public static class SecureDataNodeStarter.SecureResources extends Object
Stash necessary resources needed for datanode operation in a secure env.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SecureResources(ServerSocket streamingSocket, ServerSocketChannel httpServerSocket, boolean saslEnabled, boolean rpcPortPrivileged, boolean httpPortPrivileged)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ServerSocketChannel`
  `getHttpServerChannel()`
  `ServerSocket`
  `getStreamingSocket()`
  `boolean`
  `isHttpPortPrivileged()`
  `boolean`
  `isRpcPortPrivileged()`
  `boolean`
  `isSaslEnabled()`

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

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

- ## Constructor Details

  - ### SecureResources

    public SecureResources(ServerSocket streamingSocket, ServerSocketChannel httpServerSocket, boolean saslEnabled, boolean rpcPortPrivileged, boolean httpPortPrivileged)

- ## Method Details

  - ### getStreamingSocket

    public ServerSocket getStreamingSocket()

  - ### getHttpServerChannel

    public ServerSocketChannel getHttpServerChannel()

  - ### isSaslEnabled

    public boolean isSaslEnabled()

  - ### isRpcPortPrivileged

    public boolean isRpcPortPrivileged()

  - ### isHttpPortPrivileged

    public boolean isHttpPortPrivileged()