org.apache.hadoop.hdfs.server.datanode
Class CachingStrategy
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.CachingStrategy
public class CachingStrategy
- extends Object
The caching strategy we should use for an HDFS read or write operation.
CachingStrategy
public CachingStrategy(Boolean dropBehind,
Long readahead)
newDefaultStrategy
public static CachingStrategy newDefaultStrategy()
newDropBehind
public static CachingStrategy newDropBehind()
getDropBehind
public Boolean getDropBehind()
getReadahead
public Long getReadahead()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Apache Software Foundation. All Rights Reserved.