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 void
close()
void
flush()
boolean
isOpen()
int
write(ByteBuffer src)
-
-
-
Method Detail
-
write
public int write(ByteBuffer src) throws IOException
- Specified by:
write
in interfaceWritableByteChannel
- Throws:
IOException
-
flush
public void flush() throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-