Package org.apache.hadoop.hdfs.protocol
Class CacheDirectiveStats
java.lang.Object
org.apache.hadoop.hdfs.protocol.CacheDirectiveStats
Describes a path-based cache directive.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classorg.apache.hadoop.hdfs.protocol.CacheDirectiveStats.Builder -
Method Summary
-
Method Details
-
getBytesNeeded
public long getBytesNeeded()- Returns:
- The bytes needed.
-
getBytesCached
public long getBytesCached()- Returns:
- The bytes cached.
-
getFilesNeeded
public long getFilesNeeded()- Returns:
- The number of files needed.
-
getFilesCached
public long getFilesCached()- Returns:
- The number of files cached.
-
hasExpired
public boolean hasExpired()- Returns:
- Whether this directive has expired.
-
toString
-