Class ReadableGridFileChannel

java.lang.Object
org.infinispan.io.ReadableGridFileChannel
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, ReadableByteChannel

@Deprecated(forRemoval=true) public class ReadableGridFileChannel extends Object implements ReadableByteChannel
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.0
Author:
Marko Luksa
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    position(long newPosition)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • read

      public int read(ByteBuffer dst) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      read in interface ReadableByteChannel
      Throws:
      IOException
    • position

      public long position() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • position

      public void position(long newPosition) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • isOpen

      public boolean isOpen()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isOpen in interface Channel
    • close

      public void close() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Channel
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • size

      public long size() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException