org.apache.hadoop.hdfs.server.namenode.snapshot
Interface SnapshotStats

All Known Implementing Classes:
SnapshotManager

public interface SnapshotStats

This is an interface used to retrieve statistic information related to snapshots


Method Summary
 int getNumSnapshots()
           
 int getNumSnapshottableDirs()
           
 

Method Detail

getNumSnapshottableDirs

int getNumSnapshottableDirs()
Returns:
The number of snapshottale directories in the system

getNumSnapshots

int getNumSnapshots()
Returns:
The number of directories that have been snapshotted


Copyright © 2014 Apache Software Foundation. All Rights Reserved.