Package | Description |
---|---|
org.apache.bookkeeper.client |
Modifier and Type | Method and Description |
---|---|
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 |
BookKeeperAdmin.openLedger(long lId)
Open a ledger as an administrator.
|
LedgerHandle |
BookKeeper.openLedger(long lId,
BookKeeper.DigestType digestType,
byte[] passwd)
Synchronous open ledger call
|
LedgerHandle |
BookKeeperAdmin.openLedgerNoRecovery(long lId)
Open a ledger as an administrator without recovering the ledger.
|
LedgerHandle |
BookKeeper.openLedgerNoRecovery(long lId,
BookKeeper.DigestType digestType,
byte[] passwd)
Synchronous, unsafe open ledger call
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncCallback.AddCallback.addComplete(int rc,
LedgerHandle lh,
long entryId,
Object ctx)
Callback declaration
|
void |
LedgerChecker.checkLedger(LedgerHandle lh,
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.GenericCallback<Set<LedgerFragment>> cb)
Check that all the fragments in the passed in ledger, and report those
which are missing.
|
void |
AsyncCallback.CloseCallback.closeComplete(int rc,
LedgerHandle lh,
Object ctx)
Callback definition
|
void |
AsyncCallback.CreateCallback.createComplete(int rc,
LedgerHandle lh,
Object ctx)
Declaration of callback method
|
LedgerMetadata |
BookKeeperAdmin.getLedgerMetadata(LedgerHandle lh) |
void |
AsyncCallback.OpenCallback.openComplete(int rc,
LedgerHandle lh,
Object ctx)
Callback for asynchronous call to open ledger
|
void |
AsyncCallback.ReadCallback.readComplete(int rc,
LedgerHandle lh,
Enumeration<LedgerEntry> seq,
Object ctx)
Callback declaration
|
void |
BookKeeperAdmin.replicateLedgerFragment(LedgerHandle lh,
LedgerFragment ledgerFragment,
org.apache.bookkeeper.net.BookieSocketAddress targetBookieAddress)
Replicate the Ledger fragment to target Bookie passed.
|
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.