Package org.apache.cassandra.security
Class EncryptionUtils.ChannelProxyReadChannel
java.lang.Object
org.apache.cassandra.security.EncryptionUtils.ChannelProxyReadChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,ReadableByteChannel
- Enclosing class:
- EncryptionUtils
public static class EncryptionUtils.ChannelProxyReadChannel
extends Object
implements ReadableByteChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longbooleanisOpen()intread(ByteBuffer dst) voidsetPosition(long sourcePosition)
-
Constructor Details
-
ChannelProxyReadChannel
-
-
Method Details
-
read
- Specified by:
readin interfaceReadableByteChannel- Throws:
IOException
-
getCurrentPosition
public long getCurrentPosition() -
isOpen
public boolean isOpen() -
close
public void close() -
setPosition
public void setPosition(long sourcePosition)
-