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.ReadableByteChannelDeprecated.since 10.0- Author:
- Marko Luksa
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.booleanisOpen()Deprecated.longposition()Deprecated.voidposition(long newPosition)Deprecated.intread(java.nio.ByteBuffer dst)Deprecated.longsize()Deprecated.
-
-
-
Method Detail
-
read
public int read(java.nio.ByteBuffer dst) throws java.io.IOExceptionDeprecated.- Specified by:
readin interfacejava.nio.channels.ReadableByteChannel- Throws:
java.io.IOException
-
position
public long position() throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
position
public void position(long newPosition) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
isOpen
public boolean isOpen()
Deprecated.- Specified by:
isOpenin interfacejava.nio.channels.Channel
-
close
public void close() throws java.io.IOExceptionDeprecated.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.nio.channels.Channel- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
size
public long size() throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-