Package org.redisson
Class RedissonBinaryStream.RedissonAsynchronousByteChannel
java.lang.Object
org.redisson.RedissonBinaryStream.RedissonAsynchronousByteChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,AsynchronousByteChannel,AsynchronousChannel,Channel
- Enclosing class:
- RedissonBinaryStream
public class RedissonBinaryStream.RedissonAsynchronousByteChannel
extends Object
implements AsynchronousByteChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisOpen()longposition()voidposition(long newPosition) read(ByteBuffer dst) <A> voidread(ByteBuffer dst, A attachment, CompletionHandler<Integer, ? super A> handler) write(ByteBuffer src) <A> voidwrite(ByteBuffer src, A attachment, CompletionHandler<Integer, ? super A> handler)
-
Constructor Details
-
RedissonAsynchronousByteChannel
public RedissonAsynchronousByteChannel()
-
-
Method Details
-
position
public long position() -
position
public void position(long newPosition) -
read
- Specified by:
readin interfaceAsynchronousByteChannel
-
read
- Specified by:
readin interfaceAsynchronousByteChannel
-
write
- Specified by:
writein interfaceAsynchronousByteChannel
-
write
- Specified by:
writein interfaceAsynchronousByteChannel
-
isOpen
public boolean isOpen() -
close
- Specified by:
closein interfaceAsynchronousChannel- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-