@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface CanSetReadahead
Modifier and Type | Method and Description |
---|---|
void |
setReadahead(Long readahead)
Set the readahead on this stream.
|
void setReadahead(Long readahead) throws IOException, UnsupportedOperationException
readahead
- The readahead to use. null means to use the default.IOException
- If there was an error changing the dropBehind
setting.
UnsupportedOperationException If this stream doesn't support
setting readahead.UnsupportedOperationException
Copyright © 2022 Apache Software Foundation. All rights reserved.