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

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

# Class GetDestinationResponse

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

Direct Known Subclasses:
  `GetDestinationResponsePBImpl`

public abstract class GetDestinationResponse extends Object
API response for getting the destination subcluster of a file.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GetDestinationResponse()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Collection<String>`
  `getDestinations()`
  `static GetDestinationResponse`
  `newInstance()`
  `static GetDestinationResponse`
  `newInstance(Collection<String> nsIds)`
  `void`
  `setDestination(String nsId)`
  `abstract void`
  `setDestinations(Collection<String> nsIds)`

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

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

- ## Constructor Details

  - ### GetDestinationResponse

    public GetDestinationResponse()

- ## Method Details

  - ### newInstance

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

  - ### newInstance

    public static GetDestinationResponse newInstance(Collection<String> nsIds) throws IOException
    Throws:
      `IOException`

  - ### getDestinations

    @Public @Unstable public abstract Collection<String> getDestinations()

  - ### setDestination

    @Public @Unstable public void setDestination(String nsId)

  - ### setDestinations

    @Public @Unstable public abstract void setDestinations(Collection<String> nsIds)