Package | Description |
---|---|
org.apache.bookkeeper.client | |
org.apache.bookkeeper.conf |
Modifier and Type | Method and Description |
---|---|
static BookKeeper.DigestType |
BookKeeper.DigestType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BookKeeper.DigestType[] |
BookKeeper.DigestType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
BookKeeper.asyncCreateLedger(int ensSize,
int writeQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.CreateCallback cb,
Object ctx)
Creates a new ledger asynchronously.
|
void |
BookKeeper.asyncCreateLedger(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.CreateCallback cb,
Object ctx)
Creates a new ledger asynchronously.
|
void |
BookKeeper.asyncOpenLedger(long lId,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.OpenCallback cb,
Object ctx)
Open existing ledger asynchronously for reading.
|
void |
BookKeeper.asyncOpenLedgerNoRecovery(long lId,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.OpenCallback cb,
Object ctx)
Open existing ledger asynchronously for reading, but it does not try to
recover the ledger if it is not yet closed.
|
LedgerHandle |
BookKeeper.createLedger(BookKeeper.DigestType digestType,
byte[] passwd)
Creates a new ledger.
|
LedgerHandle |
BookKeeper.createLedger(int ensSize,
int qSize,
BookKeeper.DigestType digestType,
byte[] passwd)
Synchronous call to create ledger.
|
LedgerHandle |
BookKeeper.createLedger(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd)
Synchronous call to create ledger.
|
LedgerHandle |
BookKeeper.openLedger(long lId,
BookKeeper.DigestType digestType,
byte[] passwd)
Synchronous open ledger call
|
LedgerHandle |
BookKeeper.openLedgerNoRecovery(long lId,
BookKeeper.DigestType digestType,
byte[] passwd)
Synchronous, unsafe open ledger call
|
Constructor and Description |
---|
LedgerMetadata(int ensembleSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] password) |
Modifier and Type | Method and Description |
---|---|
BookKeeper.DigestType |
ClientConfiguration.getBookieRecoveryDigestType()
Get digest type used in bookkeeper admin
|
Modifier and Type | Method and Description |
---|---|
ClientConfiguration |
ClientConfiguration.setBookieRecoveryDigestType(BookKeeper.DigestType digestType)
Set digest type used in bookkeeper admin.
|
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.