| Package | Description |
|---|---|
| org.apache.bookkeeper.client |
BookKeeper Client.
|
| org.apache.bookkeeper.client.api |
BookKeeper Client Public API.
|
| org.apache.bookkeeper.client.impl |
BookKeeper Client implementation package.
|
| Modifier and Type | Method and Description |
|---|---|
DigestType |
LedgerMetadataImpl.getDigestType() |
DigestType |
BookKeeper.DigestType.toApiDigestType() |
| Modifier and Type | Method and Description |
|---|---|
static BookKeeper.DigestType |
BookKeeper.DigestType.fromApiDigestType(DigestType digestType) |
LedgerMetadataBuilder |
LedgerMetadataBuilder.withDigestType(DigestType digestType) |
CreateBuilder |
LedgerCreateOp.CreateBuilderImpl.withDigestType(DigestType digestType) |
| Constructor and Description |
|---|
LedgerMetadataImpl(long ledgerId,
int metadataFormatVersion,
int ensembleSize,
int writeQuorumSize,
int ackQuorumSize,
LedgerMetadata.State state,
java.util.Optional<java.lang.Long> lastEntryId,
java.util.Optional<java.lang.Long> length,
java.util.Map<java.lang.Long,java.util.List<org.apache.bookkeeper.net.BookieId>> ensembles,
java.util.Optional<DigestType> digestType,
java.util.Optional<byte[]> password,
long ctime,
boolean storeCtime,
long cToken,
java.util.Map<java.lang.String,byte[]> customMetadata) |
| Modifier and Type | Method and Description |
|---|---|
DigestType |
LedgerMetadata.getDigestType()
Returns the digest type used by this ledger.
|
static DigestType |
DigestType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DigestType[] |
DigestType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
OpenBuilder |
OpenBuilder.withDigestType(DigestType digestType)
Sets the expected digest type used to check the contents of the ledger.
|
CreateBuilder |
CreateBuilder.withDigestType(DigestType digestType)
Set the Digest type used to guard data against corruption.
|
| Modifier and Type | Field and Description |
|---|---|
protected DigestType |
OpenBuilderBase.digestType |
| Modifier and Type | Method and Description |
|---|---|
OpenBuilder |
OpenBuilderBase.withDigestType(DigestType digestType) |
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.