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

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

# Class EnableNameserviceRequest

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

Direct Known Subclasses:
  `EnableNameserviceRequestPBImpl`

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EnableNameserviceRequest()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract String`
  `getNameServiceId()`
  `static EnableNameserviceRequest`
  `newInstance()`
  `static EnableNameserviceRequest`
  `newInstance(String nsId)`
  `abstract void`
  `setNameServiceId(String nsId)`

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

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

- ## Constructor Details

  - ### EnableNameserviceRequest

    public EnableNameserviceRequest()

- ## Method Details

  - ### newInstance

    public static EnableNameserviceRequest newInstance()

  - ### newInstance

    public static EnableNameserviceRequest newInstance(String nsId)

  - ### getNameServiceId

    @Public @Unstable public abstract String getNameServiceId()

  - ### setNameServiceId

    @Public @Unstable public abstract void setNameServiceId(String nsId)