Package org.apache.bookkeeper.bookie
Class BufferedChannelBase
java.lang.Object
org.apache.bookkeeper.bookie.BufferedChannelBase
- Direct Known Subclasses:
BufferedReadChannel
A
BufferedChannelBase adds functionality to an existing file channel, the ability
to buffer the input and output data. This class is a base class for wrapping the FileChannel.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongsize()Get the current size of the underlying FileChannel.protected FileChannel
-
Field Details
-
fileChannel
-
-
Constructor Details
-
BufferedChannelBase
-
-
Method Details
-
validateAndGetFileChannel
- Throws:
IOException
-
size
Get the current size of the underlying FileChannel.- Returns:
- Throws:
IOException
-