org.apache.hadoop.hdfs.protocol
Class CacheDirectiveStats
java.lang.Object
org.apache.hadoop.hdfs.protocol.CacheDirectiveStats
@InterfaceStability.Evolving
@InterfaceAudience.Public
public class CacheDirectiveStats
- extends Object
Describes a path-based cache directive.
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
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Apache Software Foundation. All Rights Reserved.