Package org.apache.hadoop.fs
Interface CanSetDropBehind
- All Known Implementing Classes:
FSDataInputStream,FSDataOutputStream,HdfsDataInputStream,HdfsDataOutputStream
@Public
@Evolving
public interface CanSetDropBehind
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetDropBehind(Boolean dropCache) Configure whether the stream should drop the cache.
-
Method Details
-
setDropBehind
Configure whether the stream should drop the cache.- Parameters:
dropCache- Whether to drop the cache. null means to use the default value.- Throws:
IOException- If there was an error changing the dropBehind setting. UnsupportedOperationException If this stream doesn't support setting the drop-behind.UnsupportedOperationException
-