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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
isOpen()
long
position()
void
position
(long newPosition) read
(ByteBuffer dst) <A> void
read
(ByteBuffer dst, A attachment, CompletionHandler<Integer, ? super A> handler) write
(ByteBuffer src) <A> void
write
(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:
read
in interfaceAsynchronousByteChannel
-
read
- Specified by:
read
in interfaceAsynchronousByteChannel
-
write
- Specified by:
write
in interfaceAsynchronousByteChannel
-
write
- Specified by:
write
in interfaceAsynchronousByteChannel
-
isOpen
public boolean isOpen() -
close
- Specified by:
close
in interfaceAsynchronousChannel
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-