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 classorg.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.BuilderA builder for creating new CacheDirectiveInfo instances.static classorg.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.ExpirationDenotes a relative or absolute expiration time for a CacheDirective. -
Method Summary
-
Method Details
-
getId
- Returns:
- The ID of this directive.
-
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
public org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.Expiration getExpiration()- Returns:
- When this directive expires.
-
equals
-
hashCode
public int hashCode() -
toString
-