Interface CanSetDropBehind

All Known Implementing Classes:
FSDataInputStream, FSDataOutputStream, HdfsDataInputStream, HdfsDataOutputStream

@Public @Evolving public interface CanSetDropBehind
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Configure whether the stream should drop the cache.
  • Method Details

    • setDropBehind

      void setDropBehind(Boolean dropCache) throws IOException, UnsupportedOperationException
      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