FSOperations.FSGetStoragePolicy (Apache Hadoop HttpFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.fs.http.server, class: FSOperations, class: FSGetStoragePolicy

Package org.apache.hadoop.fs.http.server

# Class FSOperations.FSGetStoragePolicy

java.lang.Object
org.apache.hadoop.fs.http.server.FSOperations.FSGetStoragePolicy

All Implemented Interfaces:
  `FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>`

Enclosing class:
  FSOperations

@Private public static class FSOperations.FSGetStoragePolicy extends Object implements FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>
Executor that performs a getStoragePolicy FileSystemAccess files system operation.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FSGetStoragePolicy(String path)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.json.simple.JSONObject`
  `execute(org.apache.hadoop.fs.FileSystem fs)`

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

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

- ## Constructor Details

  - ### FSGetStoragePolicy

    public FSGetStoragePolicy(String path)

- ## Method Details

  - ### execute

    public org.json.simple.JSONObject execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
    Specified by:
      `execute` in interface `FileSystemAccess.FileSystemExecutor<org.json.simple.JSONObject>`
    Throws:
      `IOException`