org.apache.hadoop.hdfs.protocol
Class CacheDirectiveStats

java.lang.Object
  extended by org.apache.hadoop.hdfs.protocol.CacheDirectiveStats

@InterfaceStability.Evolving
@InterfaceAudience.Public
public class CacheDirectiveStats
extends Object

Describes a path-based cache directive.


Nested Class Summary
static class CacheDirectiveStats.Builder
           
 
Method Summary
 long getBytesCached()
           
 long getBytesNeeded()
           
 long getFilesCached()
           
 long getFilesNeeded()
           
 boolean hasExpired()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.