Uses of Class
org.apache.bookkeeper.client.api.WriteFlag
-
Packages that use WriteFlag Package Description org.apache.bookkeeper.client BookKeeper Client.org.apache.bookkeeper.client.api BookKeeper Client Public API.org.apache.bookkeeper.proto Classes related to the Bookkeeper protocol. -
-
Uses of WriteFlag in org.apache.bookkeeper.client
Fields in org.apache.bookkeeper.client with type parameters of type WriteFlag Modifier and Type Field Description (package private) java.util.EnumSet<WriteFlag>
LedgerCreateOp. writeFlags
(package private) java.util.EnumSet<WriteFlag>
LedgerHandle. writeFlags
(package private) java.util.EnumSet<WriteFlag>
PendingAddOp. writeFlags
Methods in org.apache.bookkeeper.client that return types with arguments of type WriteFlag Modifier and Type Method Description java.util.EnumSet<WriteFlag>
LedgerHandle. getWriteFlags()
Method parameters in org.apache.bookkeeper.client with type arguments of type WriteFlag Modifier and Type Method Description (package private) static PendingAddOp
PendingAddOp. create(LedgerHandle lh, ClientContext clientCtx, java.util.List<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 parameters in org.apache.bookkeeper.client with type arguments of type WriteFlag Constructor 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, Versioned<LedgerMetadata> versionedMetadata, BookKeeper.DigestType digestType, byte[] password, java.util.EnumSet<WriteFlag> writeFlags)
LedgerHandleAdv(ClientContext clientCtx, long ledgerId, Versioned<LedgerMetadata> metadata, BookKeeper.DigestType digestType, byte[] password, java.util.EnumSet<WriteFlag> writeFlags)
-
Uses of WriteFlag in org.apache.bookkeeper.client.api
Fields in org.apache.bookkeeper.client.api with type parameters of type WriteFlag Modifier and Type Field Description static java.util.EnumSet<WriteFlag>
WriteFlag. NONE
No flag is set, use default behaviour.Methods in org.apache.bookkeeper.client.api that return WriteFlag Modifier and Type Method 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.Methods in org.apache.bookkeeper.client.api that return types with arguments of type WriteFlag Modifier and Type Method Description static java.util.EnumSet<WriteFlag>
WriteFlag. getWriteFlags(int flagValue)
Converts a set of flags from a binary representation.Methods in org.apache.bookkeeper.client.api with parameters of type WriteFlag Modifier and Type Method Description default CreateBuilder
CreateBuilder. withWriteFlags(WriteFlag... writeFlags)
Set write flags.Method parameters in org.apache.bookkeeper.client.api with type arguments of type WriteFlag Modifier and Type Method 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. -
Uses of WriteFlag in org.apache.bookkeeper.proto
Method parameters in org.apache.bookkeeper.proto with type arguments of type WriteFlag Modifier and Type Method Description void
BookieClient. addEntry(BookieId address, long ledgerId, byte[] masterKey, long entryId, io.netty.util.ReferenceCounted toSend, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, int options, boolean allowFastFail, java.util.EnumSet<WriteFlag> writeFlags)
Add an entry for ledgerledgerId
on the bookie at addressaddress
.void
BookieClientImpl. addEntry(BookieId addr, long ledgerId, byte[] masterKey, long entryId, io.netty.util.ReferenceCounted toSend, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, int options, boolean allowFastFail, java.util.EnumSet<WriteFlag> writeFlags)
(package private) void
PerChannelBookieClient. addEntry(long ledgerId, byte[] masterKey, long entryId, io.netty.util.ReferenceCounted toSend, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, int options, boolean allowFastFail, java.util.EnumSet<WriteFlag> writeFlags)
This method should be called only after connection has been checked forPerChannelBookieClient.connectIfNeededAndDoOp(GenericCallback)
.
-