| Package | Description | 
|---|---|
| org.apache.hadoop.hdfs.server.namenode | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot | INodeDirectory. addSnapshot(int id,
           String name,
           org.apache.hadoop.hdfs.server.namenode.LeaseManager leaseManager,
           boolean captureOpenFiles,
           int maxSnapshotLimit,
           long mtime)Add a snapshot. | 
| org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot | INodeDirectory. removeSnapshot(INode.ReclaimContext reclaimContext,
              String snapshotName,
              long mtime)Delete a snapshot. | 
| void | INodeDirectory. renameSnapshot(String path,
              String oldName,
              String newName,
              long mtime)Rename a snapshot. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.