| Package | Description |
|---|---|
| org.apache.bookkeeper.client |
BookKeeper Client.
|
| org.apache.bookkeeper.client.api |
BookKeeper Client Public API.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.EnumSet<WriteFlag> |
PendingAddOp.writeFlags |
(package private) java.util.EnumSet<WriteFlag> |
LedgerCreateOp.writeFlags |
(package private) java.util.EnumSet<WriteFlag> |
LedgerHandle.writeFlags |
| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<WriteFlag> |
LedgerHandle.getWriteFlags() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static PendingAddOp |
PendingAddOp.create(LedgerHandle lh,
ClientContext clientCtx,
java.util.List<org.apache.bookkeeper.net.BookieId> ensemble,
io.netty.buffer.ByteBuf payload,
java.util.EnumSet<WriteFlag> writeFlags,
AsyncCallback.AddCallbackWithLatency cb,
java.lang.Object ctx) |
CreateBuilder |
LedgerCreateOp.CreateBuilderImpl.withWriteFlags(java.util.EnumSet<WriteFlag> writeFlags) |
| Constructor and Description |
|---|
LedgerCreateOp(BookKeeper bk,
int ensembleSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.CreateCallback cb,
java.lang.Object ctx,
java.util.Map<java.lang.String,byte[]> customMetadata,
java.util.EnumSet<WriteFlag> writeFlags,
BookKeeperClientStats clientStats)
Constructor.
|
LedgerHandle(ClientContext clientCtx,
long ledgerId,
org.apache.bookkeeper.versioning.Versioned<LedgerMetadata> versionedMetadata,
BookKeeper.DigestType digestType,
byte[] password,
java.util.EnumSet<WriteFlag> writeFlags) |
LedgerHandleAdv(ClientContext clientCtx,
long ledgerId,
org.apache.bookkeeper.versioning.Versioned<LedgerMetadata> metadata,
BookKeeper.DigestType digestType,
byte[] password,
java.util.EnumSet<WriteFlag> writeFlags) |
| Modifier and Type | Field and Description |
|---|---|
static java.util.EnumSet<WriteFlag> |
WriteFlag.NONE
No flag is set, use default behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteFlag |
WriteFlag.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteFlag[] |
WriteFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.EnumSet<WriteFlag> |
WriteFlag.getWriteFlags(int flagValue)
Converts a set of flags from a binary representation.
|
| Modifier and Type | Method and Description |
|---|---|
default CreateBuilder |
CreateBuilder.withWriteFlags(WriteFlag... writeFlags)
Set write flags.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
WriteFlag.getWriteFlagsValue(java.util.EnumSet<WriteFlag> flags)
Converts a set of flags from a binary representation.
|
CreateBuilder |
CreateBuilder.withWriteFlags(java.util.EnumSet<WriteFlag> writeFlags)
Set write flags.
|
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.