org.apache.hadoop.fs
Interface CanSetReadahead

All Known Implementing Classes:
FSDataInputStream

@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface CanSetReadahead


Method Summary
 void setReadahead(Long readahead)
          Set the readahead on this stream.
 

Method Detail

setReadahead

void setReadahead(Long readahead)
                  throws IOException,
                         UnsupportedOperationException
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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.