org.infinispan.io
Class WritableGridFileChannel

java.lang.Object
  extended by org.infinispan.io.WritableGridFileChannel
All Implemented Interfaces:
Closeable, Channel, WritableByteChannel

public class WritableGridFileChannel
extends Object
implements WritableByteChannel

Author:
Marko Luksa

Method Summary
 void close()
           
 void flush()
           
 boolean isOpen()
           
 int write(ByteBuffer src)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public int write(ByteBuffer src)
          throws IOException
Specified by:
write in interface WritableByteChannel
Throws:
IOException

flush

public void flush()
           throws IOException
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

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.