SaveNamespaceContext (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.namenode, class: SaveNamespaceContext

Package org.apache.hadoop.hdfs.server.namenode

# Class SaveNamespaceContext

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.SaveNamespaceContext

@Private public class SaveNamespaceContext extends Object
Context for an ongoing SaveNamespace operation. This class allows cancellation, and also is responsible for accumulating failed storage directories.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `checkCancelled()`

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

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

- ## Method Details

  - ### checkCancelled

    public void checkCancelled() throws SaveNamespaceCancelledException
    Throws:
      `SaveNamespaceCancelledException`