Package org.apache.hadoop.fs
Interface CanSetReadahead
- All Known Implementing Classes:
FSDataInputStream,HdfsDataInputStream
@Public
@Evolving
public interface CanSetReadahead
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetReadahead(Long readahead) Set the readahead on this stream.
-
Method Details
-
setReadahead
Set the readahead on this stream.- Parameters:
readahead- The readahead to use. null means to use the default.- Throws:
IOException- If there was an error changing the dropBehind setting. UnsupportedOperationException If this stream doesn't support setting readahead.UnsupportedOperationException
-