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.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
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncCallback.AddCallback.addComplete(int rc,
LedgerHandle lh,
long entryId,
Object ctx)
Callback declaration
|
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
|
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
|
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.