Interface SnapshotStatsMXBean
- All Known Implementing Classes:
SnapshotManager
public interface SnapshotStatsMXBean
This is an interface used to retrieve statistic information related to
snapshots
-
Method Summary
Modifier and TypeMethodDescriptionReturn the list of snapshotsorg.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean[]Return the list of snapshottable directories
-
Method Details
-
getSnapshottableDirectories
org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean[] getSnapshottableDirectories()Return the list of snapshottable directories- Returns:
- the list of snapshottable directories
-
getSnapshots
SnapshotInfo.Bean[] getSnapshots()Return the list of snapshots- Returns:
- the list of snapshots
-