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

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

# Class EnableNameserviceResponse

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

Direct Known Subclasses:
  `EnableNameserviceResponsePBImpl`

public abstract class EnableNameserviceResponse extends Object
API response for enabling a name service and updating its state in the State Store.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EnableNameserviceResponse()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract boolean`
  `getStatus()`
  `static EnableNameserviceResponse`
  `newInstance()`
  `static EnableNameserviceResponse`
  `newInstance(boolean status)`
  `abstract void`
  `setStatus(boolean result)`

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

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

- ## Constructor Details

  - ### EnableNameserviceResponse

    public EnableNameserviceResponse()

- ## Method Details

  - ### newInstance

    public static EnableNameserviceResponse newInstance() throws IOException
    Throws:
      `IOException`

  - ### newInstance

    public static EnableNameserviceResponse newInstance(boolean status) throws IOException
    Throws:
      `IOException`

  - ### getStatus

    @Public @Unstable public abstract boolean getStatus()

  - ### setStatus

    @Public @Unstable public abstract void setStatus(boolean result)