| Package | Description |
|---|---|
| org.apache.bookkeeper.client |
BookKeeper Client.
|
| org.apache.bookkeeper.client.api |
BookKeeper Client Public API.
|
| Modifier and Type | Method and Description |
|---|---|
LedgerMetadata.State |
LedgerMetadataImpl.getState() |
| 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 |
|---|---|
LedgerMetadata.State |
LedgerMetadata.getState()
Returns the state of the metadata.
|
static LedgerMetadata.State |
LedgerMetadata.State.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LedgerMetadata.State[] |
LedgerMetadata.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.