org.apache.hadoop.hdfs.protocol
Class CacheDirectiveInfo
java.lang.Object
org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo
@InterfaceStability.Evolving
@InterfaceAudience.Public
public class CacheDirectiveInfo
- extends Object
Describes a path-based cache directive.
getId
public Long getId()
- Returns:
- The ID of this directive.
getPath
public org.apache.hadoop.fs.Path getPath()
- Returns:
- The path used in this request.
getReplication
public Short getReplication()
- Returns:
- The number of times the block should be cached.
getPool
public String getPool()
- Returns:
- The pool used in this request.
getExpiration
public CacheDirectiveInfo.Expiration getExpiration()
- Returns:
- When this directive expires.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Apache Software Foundation. All Rights Reserved.