Package org.apache.hadoop.hdfs.protocol
Class CacheDirectiveInfo
java.lang.Object
org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo
Describes a path-based cache directive.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder for creating new CacheDirectiveInfo instances.static classDenotes a relative or absolute expiration time for a CacheDirective. -
Method Summary
-
Method Details
-
getId
- Returns:
- The ID of this directive.
-
getPath
public org.apache.hadoop.fs.Path getPath()- Returns:
- The path used in this request.
-
getReplication
- Returns:
- The number of times the block should be cached.
-
getPool
- Returns:
- The pool used in this request.
-
getExpiration
- Returns:
- When this directive expires.
-
equals
-
hashCode
public int hashCode() -
toString
-