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

Package org.apache.hadoop.hdfs.server.federation.store.protocol

# Class GetNamespaceInfoResponse

java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.GetNamespaceInfoResponse

Direct Known Subclasses:
  `GetNamespaceInfoResponsePBImpl`

public abstract class GetNamespaceInfoResponse extends Object
API response for listing HDFS namespaces present in the state store.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GetNamespaceInfoResponse()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Set<FederationNamespaceInfo>`
  `getNamespaceInfo()`
  `static GetNamespaceInfoResponse`
  `newInstance()`
  `static GetNamespaceInfoResponse`
  `newInstance(Set<FederationNamespaceInfo> namespaces)`
  `abstract void`
  `setNamespaceInfo(Set<FederationNamespaceInfo> namespaceInfo)`

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

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

- ## Constructor Details

  - ### GetNamespaceInfoResponse

    public GetNamespaceInfoResponse()

- ## Method Details

  - ### newInstance

    public static GetNamespaceInfoResponse newInstance()

  - ### newInstance

    public static GetNamespaceInfoResponse newInstance(Set<FederationNamespaceInfo> namespaces) throws IOException
    Throws:
      `IOException`

  - ### getNamespaceInfo

    @Public @Unstable public abstract Set<FederationNamespaceInfo> getNamespaceInfo()

  - ### setNamespaceInfo

    @Public @Unstable public abstract void setNamespaceInfo(Set<FederationNamespaceInfo> namespaceInfo)