void |
BookKeeper.asyncCreateLedger(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.CreateCallback cb,
java.lang.Object ctx,
java.util.Map<java.lang.String,byte[]> customMetadata) |
Creates a new ledger asynchronously.
|
void |
BookKeeper.asyncCreateLedger(int ensSize,
int writeQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.CreateCallback cb,
java.lang.Object ctx) |
Creates a new ledger asynchronously.
|
void |
BookKeeper.asyncCreateLedgerAdv(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.CreateCallback cb,
java.lang.Object ctx,
java.util.Map<java.lang.String,byte[]> customMetadata) |
Creates a new ledger asynchronously and returns LedgerHandleAdv
which can accept entryId.
|
void |
BookKeeper.asyncCreateLedgerAdv(long ledgerId,
int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.CreateCallback cb,
java.lang.Object ctx,
java.util.Map<java.lang.String,byte[]> customMetadata) |
Asynchronously creates a new ledger using the interface which accepts a ledgerId as input.
|
void |
BookKeeper.asyncOpenLedger(long lId,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.OpenCallback cb,
java.lang.Object ctx) |
Open existing ledger asynchronously for reading.
|
void |
BookKeeper.asyncOpenLedgerNoRecovery(long lId,
BookKeeper.DigestType digestType,
byte[] passwd,
AsyncCallback.OpenCallback cb,
java.lang.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(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd) |
Synchronous call to create ledger.
|
LedgerHandle |
BookKeeper.createLedger(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
java.util.Map<java.lang.String,byte[]> customMetadata) |
Synchronous call to create ledger.
|
LedgerHandle |
BookKeeper.createLedger(int ensSize,
int qSize,
BookKeeper.DigestType digestType,
byte[] passwd) |
Synchronous call to create ledger.
|
LedgerHandle |
BookKeeper.createLedger(BookKeeper.DigestType digestType,
byte[] passwd) |
Creates a new ledger.
|
LedgerHandle |
BookKeeper.createLedgerAdv(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd) |
Synchronous call to create ledger.
|
LedgerHandle |
BookKeeper.createLedgerAdv(int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
java.util.Map<java.lang.String,byte[]> customMetadata) |
Synchronous call to create ledger.
|
LedgerHandle |
BookKeeper.createLedgerAdv(long ledgerId,
int ensSize,
int writeQuorumSize,
int ackQuorumSize,
BookKeeper.DigestType digestType,
byte[] passwd,
java.util.Map<java.lang.String,byte[]> customMetadata) |
Synchronously creates a new ledger using the interface which accepts a ledgerId as input.
|
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.
|
static DataFormats.LedgerMetadataFormat.DigestType |
BookKeeper.DigestType.toProtoDigestType(BookKeeper.DigestType digestType) |
|