public static interface BKException.Code
BKException
types.Modifier and Type | Field and Description |
---|---|
static int |
AddEntryQuorumTimeoutException
Add entry operation timeouts on waiting quorum responses.
|
static int |
BookieHandleNotAvailableException
Bookies are not available
|
static int |
ClientClosedException
Executing operations on a closed client
|
static int |
DigestMatchException
Digest doesn't match on returned entries
|
static int |
DigestNotInitializedException
Digest Manager is not initialized (client error)
|
static int |
DuplicateEntryIdException
Duplicated entry id is found when
LedgerHandleAdv.addEntry(long, byte[]) . |
static int |
IllegalOpException
Operation is illegal.
|
static int |
IncorrectParameterException
Incorrect parameters (operations are absolutely not executed)
|
static int |
InterruptedException
Synchronous operations are interrupted
|
static int |
LedgerClosedException
Executing operations on a closed ledger handle
|
static int |
LedgerExistException
Ledger already exists
|
static int |
LedgerFencedException
Operations failed due to ledgers are fenced.
|
static int |
LedgerIdOverflowException
Ledger id overflow happens on ledger manager.
|
static int |
LedgerRecoveryException
Ledger recovery operations failed
|
static int |
MetadataVersionException
Bad version on executing metadata operations
|
static int |
MetaStoreException
Meta store operations failed
|
static int |
NoBookieAvailableException
Unused
|
static int |
NoSuchEntryException
No such entry exists
|
static int |
NoSuchLedgerExistsException
No such ledger exists
|
static int |
NotEnoughBookiesException
Not enough bookies available to form an ensemble
|
static int |
OK
Everything is OK
|
static int |
ProtocolVersionException
Protocol version is wrong (operations are absolutely not executed)
|
static int |
QuorumException
Unused
|
static int |
ReadException
Read operations failed (bookie error)
|
static int |
ReplicationException
generic exception code used to propagate in replication pipeline
|
static int |
SecurityException |
static int |
TimeoutException
Operations timeouts.
|
static int |
UnauthorizedAccessException
Operations failed due to unauthorized.
|
static int |
UnclosedFragmentException
Replication failed due to unclosed fragments.
|
static int |
UnexpectedConditionException
Unexpected condition.
|
static int |
UNINITIALIZED
A placer holder (unused)
|
static int |
WriteException
Write operations failed (bookie error)
|
static int |
WriteOnReadOnlyBookieException
Write operations failed due to bookies are readonly
|
static int |
ZKException
ZooKeeper operations failed
|
static final int UNINITIALIZED
static final int OK
static final int ReadException
static final int QuorumException
static final int NoBookieAvailableException
static final int DigestNotInitializedException
static final int DigestMatchException
static final int NotEnoughBookiesException
static final int NoSuchLedgerExistsException
static final int BookieHandleNotAvailableException
static final int ZKException
static final int LedgerRecoveryException
static final int LedgerClosedException
static final int WriteException
static final int NoSuchEntryException
static final int IncorrectParameterException
static final int InterruptedException
static final int ProtocolVersionException
static final int MetadataVersionException
static final int MetaStoreException
static final int ClientClosedException
static final int LedgerExistException
static final int AddEntryQuorumTimeoutException
static final int DuplicateEntryIdException
LedgerHandleAdv.addEntry(long, byte[])
.static final int TimeoutException
static final int SecurityException
static final int IllegalOpException
static final int LedgerFencedException
static final int UnauthorizedAccessException
static final int UnclosedFragmentException
static final int WriteOnReadOnlyBookieException
static final int LedgerIdOverflowException
static final int ReplicationException
static final int UnexpectedConditionException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.