Package org.infinispan.io
Class WritableGridFileChannel
- java.lang.Object
-
- org.infinispan.io.WritableGridFileChannel
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,WritableByteChannel
public class WritableGridFileChannel extends Object implements WritableByteChannel
- Author:
- Marko Luksa
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()booleanisOpen()intwrite(ByteBuffer src)
-
-
-
Method Detail
-
write
public int write(ByteBuffer src) throws IOException
- Specified by:
writein interfaceWritableByteChannel- Throws:
IOException
-
flush
public void flush() throws IOException- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-