org.infinispan.io
Class ReadableGridFileChannel
java.lang.Object
org.infinispan.io.ReadableGridFileChannel
- All Implemented Interfaces:
- Closeable, Channel, ReadableByteChannel
public class ReadableGridFileChannel
- extends Object
- implements ReadableByteChannel
- Author:
- Marko Luksa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
read
public int read(ByteBuffer dst)
throws IOException
- Specified by:
read
in interface ReadableByteChannel
- Throws:
IOException
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface Channel
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in interface Channel
- Throws:
IOException
position
public long position()
throws IOException
- Throws:
IOException
position
public void position(long newPosition)
throws IOException
- Throws:
IOException
size
public long size()
throws IOException
- Throws:
IOException
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.