Package org.apache.bookkeeper.bookie
Interface Journal.BufferedChannelBuilder
-
- Enclosing class:
- Journal
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Journal.BufferedChannelBuilder
For testability.
-
-
Field Summary
Fields Modifier and Type Field Description static Journal.BufferedChannelBuilder
DEFAULT_BCBUILDER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferedChannel
create(java.nio.channels.FileChannel fc, int capacity)
-
-
-
Field Detail
-
DEFAULT_BCBUILDER
static final Journal.BufferedChannelBuilder DEFAULT_BCBUILDER
-
-
Method Detail
-
create
BufferedChannel create(java.nio.channels.FileChannel fc, int capacity) throws java.io.IOException
- Throws:
java.io.IOException
-
-