Package org.infinispan.io
Class ReadableGridFileChannel
- java.lang.Object
-
- org.infinispan.io.ReadableGridFileChannel
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.nio.channels.Channel
,java.nio.channels.ReadableByteChannel
@Deprecated public class ReadableGridFileChannel extends java.lang.Object implements java.nio.channels.ReadableByteChannel
Deprecated.since 10.0- Author:
- Marko Luksa
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.boolean
isOpen()
Deprecated.long
position()
Deprecated.void
position(long newPosition)
Deprecated.int
read(java.nio.ByteBuffer dst)
Deprecated.long
size()
Deprecated.
-
-
-
Method Detail
-
read
public int read(java.nio.ByteBuffer dst) throws java.io.IOException
Deprecated.- Specified by:
read
in interfacejava.nio.channels.ReadableByteChannel
- Throws:
java.io.IOException
-
position
public long position() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
position
public void position(long newPosition) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
isOpen
public boolean isOpen()
Deprecated.- Specified by:
isOpen
in interfacejava.nio.channels.Channel
-
close
public void close() throws java.io.IOException
Deprecated.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.nio.channels.Channel
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
size
public long size() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-