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

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

# Class GetSafeModeResponse

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

Direct Known Subclasses:
  `GetSafeModeResponsePBImpl`

public abstract class GetSafeModeResponse extends Object
API response for verifying if current Router state is safe mode.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GetSafeModeResponse()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract boolean`
  `isInSafeMode()`
  `static GetSafeModeResponse`
  `newInstance()`
  `static GetSafeModeResponse`
  `newInstance(boolean isInSafeMode)`
  `abstract void`
  `setSafeMode(boolean isInSafeMode)`

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

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

- ## Constructor Details

  - ### GetSafeModeResponse

    public GetSafeModeResponse()

- ## Method Details

  - ### newInstance

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

  - ### newInstance

    public static GetSafeModeResponse newInstance(boolean isInSafeMode) throws IOException
    Throws:
      `IOException`

  - ### isInSafeMode

    @Public @Unstable public abstract boolean isInSafeMode()

  - ### setSafeMode

    @Public @Unstable public abstract void setSafeMode(boolean isInSafeMode)