Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
BookieHandleNotAvailableException |
-8 |
public static final int |
ClientClosedException |
-19 |
public static final int |
DigestMatchException |
-5 |
public static final int |
DigestNotInitializedException |
-4 |
public static final int |
IllegalOpException |
-100 |
public static final int |
IncorrectParameterException |
-14 |
public static final int |
InterruptedException |
-15 |
public static final int |
LedgerClosedException |
-11 |
public static final int |
LedgerFencedException |
-101 |
public static final int |
LedgerRecoveryException |
-10 |
public static final int |
MetadataVersionException |
-17 |
public static final int |
MetaStoreException |
-18 |
public static final int |
NoBookieAvailableException |
-3 |
public static final int |
NoSuchEntryException |
-13 |
public static final int |
NoSuchLedgerExistsException |
-7 |
public static final int |
NotEnoughBookiesException |
-6 |
public static final int |
OK |
0 |
public static final int |
ProtocolVersionException |
-16 |
public static final int |
QuorumException |
-2 |
public static final int |
ReadException |
-1 |
public static final int |
ReplicationException |
-200 |
public static final int |
UnauthorizedAccessException |
-102 |
public static final int |
UnclosedFragmentException |
-103 |
public static final int |
UnexpectedConditionException |
-999 |
public static final int |
WriteException |
-12 |
public static final int |
WriteOnReadOnlyBookieException |
-104 |
public static final int |
ZKException |
-9 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ADD_OP |
"ADD_ENTRY" |
public static final String |
CHANNEL_ADD_OP |
"ADD_ENTRY" |
public static final String |
CHANNEL_READ_OP |
"READ_ENTRY" |
public static final String |
CHANNEL_SCOPE |
"per_channel_bookie_client" |
public static final String |
CHANNEL_TIMEOUT_ADD |
"TIMEOUT_ADD_ENTRY" |
public static final String |
CHANNEL_TIMEOUT_READ |
"TIMEOUT_READ_ENTRY" |
public static final String |
CLIENT_SCOPE |
"bookkeeper_client" |
public static final String |
CREATE_OP |
"LEDGER_CREATE" |
public static final String |
DELETE_OP |
"LEDGER_DELETE" |
public static final String |
ENSEMBLE_CHANGES |
"NUM_ENSEMBLE_CHANGE" |
public static final String |
LAC_UPDATE_HITS |
"LAC_UPDATE_HITS" |
public static final String |
LAC_UPDATE_MISSES |
"LAC_UPDATE_MISSES" |
public static final String |
OPEN_OP |
"LEDGER_OPEN" |
public static final String |
PENDING_ADDS |
"NUM_PENDING_ADD" |
public static final String |
READ_OP |
"READ_ENTRY" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final long |
INVALID_ENTRY_ID |
-1L |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
CURRENT_METADATA_FORMAT_VERSION |
2 |
public static final int |
LOWEST_COMPAT_METADATA_FORMAT_VERSION |
0 |
public static final String |
VERSION_KEY |
"BookieMetadataFormatVersion" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
REPP_DNS_RESOLVER_CLASS |
"reppDnsResolverClass" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
AVAILABLE_NODE |
"available" |
protected static final String |
LEDGER_MANAGER_FACTORY_CLASS |
"ledgerManagerFactoryClass" |
protected static final String |
LEDGER_MANAGER_TYPE |
"ledgerManagerType" |
protected static final String |
METASTORE_IMPL_CLASS |
"metastoreImplClass" |
protected static final String |
METASTORE_MAX_ENTRIES_PER_SCAN |
"metastoreMaxEntriesPerScan" |
protected static final String |
REREPLICATION_ENTRY_BATCH_SIZE |
"rereplicationEntryBatchSize" |
protected static final String |
ZK_LEDGERS_ROOT_PATH |
"zkLedgersRootPath" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
ADD_ENTRY_TIMEOUT_SEC |
"addEntryTimeoutSec" |
protected static final String |
CLIENT_TCP_NODELAY |
"clientTcpNoDelay" |
protected static final String |
DIGEST_TYPE |
"digestType" |
protected static final String |
ENSEMBLE_PLACEMENT_POLICY |
"ensemblePlacementPolicy" |
protected static final String |
NUM_CHANNELS_PER_BOOKIE |
"numChannelsPerBookie" |
protected static final String |
NUM_WORKER_THREADS |
"numWorkerThreads" |
protected static final String |
PASSWD |
"passwd" |
protected static final String |
PCBC_TIMEOUT_TIMER_NUM_TICKS |
"pcbcTimeoutTimerNumTicks" |
protected static final String |
PCBC_TIMEOUT_TIMER_TICK_DURATION_MS |
"pcbcTimeoutTimerTickDurationMs" |
protected static final String |
READ_ENTRY_TIMEOUT_SEC |
"readEntryTimeoutSec" |
protected static final String |
READ_TIMEOUT |
"readTimeout" |
protected static final String |
SPECULATIVE_READ_TIMEOUT |
"speculativeReadTimeout" |
protected static final String |
THROTTLE |
"throttle" |
protected static final String |
TIMEOUT_TASK_INTERVAL_MILLIS |
"timeoutTaskIntervalMillis" |
protected static final String |
ZK_SERVERS |
"zkServers" |
protected static final String |
ZK_TIMEOUT |
"zkTimeout" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
ALLOW_LOOPBACK |
"allowLoopback" |
protected static final String |
AUDITOR_PERIODIC_BOOKIE_CHECK_INTERVAL |
"auditorPeriodicBookieCheckInterval" |
protected static final String |
AUDITOR_PERIODIC_CHECK_INTERVAL |
"auditorPeriodicCheckInterval" |
protected static final String |
AUTO_RECOVERY_DAEMON_ENABLED |
"autoRecoveryDaemonEnabled" |
protected static final String |
BOOKIE_PORT |
"bookiePort" |
protected static final String |
COMPACTION_MAX_OUTSTANDING_REQUESTS |
"compactionMaxOutstandingRequests" |
protected static final String |
COMPACTION_RATE |
"compactionRate" |
protected static final String |
DEATH_WATCH_INTERVAL |
"bookieDeathWatchInterval" |
protected static final String |
DISK_CHECK_INTERVAL |
"diskCheckInterval" |
protected static final String |
DISK_USAGE_THRESHOLD |
"diskUsageThreshold" |
protected static final String |
DISK_USAGE_WARN_THRESHOLD |
"diskUsageWarnThreshold" |
protected static final String |
ENABLE_STATISTICS |
"enableStatistics" |
protected static final String |
ENTRY_LOG_FILE_PREALLOCATION_ENABLED |
"entryLogFilePreallocationEnabled" |
protected static final String |
ENTRY_LOG_SIZE_LIMIT |
"logSizeLimit" |
protected static final String |
FLUSH_INTERVAL |
"flushInterval" |
protected static final String |
GC_WAIT_TIME |
"gcWaitTime" |
protected static final String |
INDEX_DIRS |
"indexDirectories" |
protected static final String |
JOURNAL_ADAPTIVE_GROUP_WRITES |
"journalAdaptiveGroupWrites" |
protected static final String |
JOURNAL_ALIGNMENT_SIZE |
"journalAlignmentSize" |
protected static final String |
JOURNAL_BUFFERED_ENTRIES_THRESHOLD |
"journalBufferedEntriesThreshold" |
protected static final String |
JOURNAL_BUFFERED_WRITES_THRESHOLD |
"journalBufferedWritesThreshold" |
protected static final String |
JOURNAL_DIR |
"journalDirectory" |
protected static final String |
JOURNAL_FLUSH_WHEN_QUEUE_EMPTY |
"journalFlushWhenQueueEmpty" |
protected static final String |
JOURNAL_FORMAT_VERSION_TO_WRITE |
"journalFormatVersionToWrite" |
protected static final String |
JOURNAL_MAX_GROUP_WAIT_MSEC |
"journalMaxGroupWaitMSec" |
protected static final String |
JOURNAL_PRE_ALLOC_SIZE |
"journalPreAllocSizeMB" |
protected static final String |
JOURNAL_REMOVE_FROM_PAGE_CACHE |
"journalRemoveFromPageCache" |
protected static final String |
JOURNAL_WRITE_BUFFER_SIZE |
"journalWriteBufferSizeKB" |
protected static final String |
LEDGER_DIRS |
"ledgerDirectories" |
protected static final String |
LISTENING_INTERFACE |
"listeningInterface" |
protected static final String |
MAJOR_COMPACTION_INTERVAL |
"majorCompactionInterval" |
protected static final String |
MAJOR_COMPACTION_THRESHOLD |
"majorCompactionThreshold" |
protected static final String |
MAX_BACKUP_JOURNALS |
"journalMaxBackups" |
protected static final String |
MAX_JOURNAL_SIZE |
"journalMaxSizeMB" |
protected static final String |
MINOR_COMPACTION_INTERVAL |
"minorCompactionInterval" |
protected static final String |
MINOR_COMPACTION_THRESHOLD |
"minorCompactionThreshold" |
protected static final String |
NUM_ADD_WORKER_THREADS |
"numAddWorkerThreads" |
protected static final String |
NUM_JOURNAL_CALLBACK_THREADS |
"numJournalCallbackThreads" |
protected static final String |
NUM_READ_WORKER_THREADS |
"numReadWorkerThreads" |
protected static final String |
OPEN_FILE_LIMIT |
"openFileLimit" |
protected static final String |
OPEN_LEDGER_REREPLICATION_GRACE_PERIOD |
"openLedgerRereplicationGracePeriod" |
protected static final String |
PAGE_LIMIT |
"pageLimit" |
protected static final String |
PAGE_SIZE |
"pageSize" |
protected static final String |
READ_BUFFER_SIZE |
"readBufferSizeBytes" |
protected static final String |
READ_ONLY_MODE_ENABLED |
"readOnlyModeEnabled" |
protected static final String |
SERVER_TCP_NODELAY |
"serverTcpNoDelay" |
protected static final String |
SKIP_LIST_CHUNK_SIZE_ENTRY |
"skipListArenaChunkSize" |
protected static final String |
SKIP_LIST_MAX_ALLOC_ENTRY |
"skipListArenaMaxAllocSize" |
protected static final String |
SKIP_LIST_SIZE_LIMIT |
"skipListSizeLimit" |
protected static final String |
SORTED_LEDGER_STORAGE_ENABLED |
"sortedLedgerStorageEnabled" |
protected static final String |
STATS_PROVIDER_CLASS |
"statsProviderClass" |
protected static final String |
USE_HOST_NAME_AS_BOOKIE_ID |
"useHostNameAsBookieID" |
protected static final String |
WRITE_BUFFER_SIZE |
"writeBufferSizeBytes" |
protected static final String |
ZK_SERVERS |
"zkServers" |
protected static final String |
ZK_TIMEOUT |
"zkTimeout" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
AUTO_SEND_CONSUME_MESSAGE_ENABLED |
"auto_send_consume_message_enabled" |
protected static final String |
CONSUMED_MESSAGES_BUFFER_SIZE |
"consumed_messages_buffer_size" |
protected static final String |
DEFAULT_SERVER_HOST |
"default_server_host" |
protected static final String |
MAX_MESSAGE_SIZE |
"max_message_size" |
protected static final String |
MAX_OUTSTANDING_MESSAGES |
"max_outstanding_messages" |
protected static final String |
MAX_SERVER_REDIRECTS |
"max_server_redirects" |
protected static final String |
MESSAGE_CONSUME_RETRY_WAIT_TIME |
"message_consume_retry_wait_time" |
protected static final String |
SERVER_ACK_RESPONSE_TIMEOUT |
"server_ack_response_timeout" |
protected static final String |
SSL_ENABLED |
"ssl_enabled" |
protected static final String |
SUBSCRIBE_RECONNECT_RETRY_WAIT_TIME |
"subscribe_reconnect_retry_wait_time" |
protected static final String |
SUBSCRIPTION_CHANNEL_SHARING_ENABLED |
"subscription_channel_sharing_enabled" |
protected static final String |
SUBSCRIPTION_MESSAGE_BOUND |
"subscription_message_bound" |
protected static final String |
TIMEOUT_THREAD_RUN_INTERVAL |
"timeout_thread_run_interval" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SUBSCRIBERID_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MSGID_FIELD_NUMBER |
3 |
public static final int |
SUBSCRIBERID_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
CZXID_FIELD_NUMBER |
3 |
public static final int |
HOSTNAME_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
NUMTOPICS_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
ENDSEQIDINCLUDED_FIELD_NUMBER |
2 |
public static final int |
LEDGERID_FIELD_NUMBER |
1 |
public static final int |
STARTSEQIDINCLUDED_FIELD_NUMBER |
3 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
RANGES_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MANAGERIMPL_FIELD_NUMBER |
2 |
public static final int |
MANAGERVERSION_FIELD_NUMBER |
3 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
ENTRIES_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
KEY_FIELD_NUMBER |
1 |
public static final int |
VALUE_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
BODY_FIELD_NUMBER |
1 |
public static final int |
HEADER_FIELD_NUMBER |
4 |
public static final int |
MSGID_FIELD_NUMBER |
3 |
public static final int |
SRCREGION_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MESSAGETYPE_FIELD_NUMBER |
2 |
public static final int |
PROPERTIES_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
LOCALCOMPONENT_FIELD_NUMBER |
1 |
public static final int |
REMOTECOMPONENTS_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
CLOSESUBSCRIPTION_VALUE |
6 |
public static final int |
CONSUME_VALUE |
2 |
public static final int |
PUBLISH_VALUE |
0 |
public static final int |
START_DELIVERY_VALUE |
4 |
public static final int |
STOP_DELIVERY_VALUE |
5 |
public static final int |
SUBSCRIBE_VALUE |
1 |
public static final int |
UNSUBSCRIBE_VALUE |
3 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
VERSION_ONE_VALUE |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MSG_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
PUBLISHEDMSGID_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
CLOSESUBSCRIPTIONREQUEST_FIELD_NUMBER |
58 |
public static final int |
CONSUMEREQUEST_FIELD_NUMBER |
54 |
public static final int |
PROTOCOLVERSION_FIELD_NUMBER |
1 |
public static final int |
PUBLISHREQUEST_FIELD_NUMBER |
52 |
public static final int |
SHOULDCLAIM_FIELD_NUMBER |
5 |
public static final int |
STARTDELIVERYREQUEST_FIELD_NUMBER |
57 |
public static final int |
STOPDELIVERYREQUEST_FIELD_NUMBER |
56 |
public static final int |
SUBSCRIBEREQUEST_FIELD_NUMBER |
53 |
public static final int |
TOPIC_FIELD_NUMBER |
6 |
public static final int |
TRIEDSERVERS_FIELD_NUMBER |
3 |
public static final int |
TXNID_FIELD_NUMBER |
4 |
public static final int |
TYPE_FIELD_NUMBER |
2 |
public static final int |
UNSUBSCRIBEREQUEST_FIELD_NUMBER |
55 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MESSAGE_FIELD_NUMBER |
5 |
public static final int |
PROTOCOLVERSION_FIELD_NUMBER |
1 |
public static final int |
RESPONSEBODY_FIELD_NUMBER |
8 |
public static final int |
STATUSCODE_FIELD_NUMBER |
2 |
public static final int |
STATUSMSG_FIELD_NUMBER |
4 |
public static final int |
SUBSCRIBERID_FIELD_NUMBER |
7 |
public static final int |
TOPIC_FIELD_NUMBER |
6 |
public static final int |
TXNID_FIELD_NUMBER |
3 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
REGION_FIELD_NUMBER |
1 |
public static final int |
SEQID_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
PUBLISHRESPONSE_FIELD_NUMBER |
1 |
public static final int |
SUBSCRIBERESPONSE_FIELD_NUMBER |
2 |
public static final int |
SUBSCRIPTIONEVENT_FIELD_NUMBER |
3 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SUBSCRIBERID_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
BAD_VERSION_VALUE |
520 |
public static final int |
CLIENT_ALREADY_SUBSCRIBED_VALUE |
403 |
public static final int |
CLIENT_NOT_SUBSCRIBED_VALUE |
404 |
public static final int |
COMPOSITE_VALUE |
700 |
public static final int |
COULD_NOT_CONNECT_VALUE |
405 |
public static final int |
INVALID_MESSAGE_FILTER_VALUE |
504 |
public static final int |
MALFORMED_REQUEST_VALUE |
401 |
public static final int |
NO_SUBSCRIPTION_STATE_VALUE |
523 |
public static final int |
NO_SUCH_TOPIC_VALUE |
402 |
public static final int |
NO_TOPIC_OWNER_INFO_VALUE |
525 |
public static final int |
NO_TOPIC_PERSISTENCE_INFO_VALUE |
521 |
public static final int |
NOT_RESPONSIBLE_FOR_TOPIC_VALUE |
501 |
public static final int |
RESUBSCRIBE_EXCEPTION_VALUE |
407 |
public static final int |
SERVICE_DOWN_VALUE |
502 |
public static final int |
SUBSCRIPTION_STATE_EXISTS_VALUE |
524 |
public static final int |
SUCCESS_VALUE |
0 |
public static final int |
TOPIC_BUSY_VALUE |
406 |
public static final int |
TOPIC_OWNER_INFO_EXISTS_VALUE |
526 |
public static final int |
TOPIC_PERSISTENCE_INFO_EXISTS_VALUE |
522 |
public static final int |
UNCERTAIN_STATE_VALUE |
503 |
public static final int |
UNEXPECTED_CONDITION_VALUE |
600 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SUBSCRIBERID_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
CREATEORATTACH_FIELD_NUMBER |
3 |
public static final int |
FORCEATTACH_FIELD_NUMBER |
7 |
public static final int |
MESSAGEBOUND_FIELD_NUMBER |
5 |
public static final int |
PREFERENCES_FIELD_NUMBER |
6 |
public static final int |
SUBSCRIBERID_FIELD_NUMBER |
2 |
public static final int |
SYNCHRONOUS_FIELD_NUMBER |
4 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
ATTACH_VALUE |
1 |
public static final int |
CREATE_OR_ATTACH_VALUE |
2 |
public static final int |
CREATE_VALUE |
0 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
PREFERENCES_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
PREFERENCES_FIELD_NUMBER |
2 |
public static final int |
STATE_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SUBSCRIPTION_FORCED_CLOSED_VALUE |
2 |
public static final int |
TOPIC_MOVED_VALUE |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
EVENT_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
CREATEORATTACH_FIELD_NUMBER |
2 |
public static final int |
ENABLERESUBSCRIBE_FIELD_NUMBER |
7 |
public static final int |
FORCEATTACH_FIELD_NUMBER |
1 |
public static final int |
MESSAGEBOUND_FIELD_NUMBER |
3 |
public static final int |
MESSAGEFILTER_FIELD_NUMBER |
5 |
public static final int |
MESSAGEWINDOWSIZE_FIELD_NUMBER |
6 |
public static final int |
OPTIONS_FIELD_NUMBER |
4 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MESSAGEBOUND_FIELD_NUMBER |
2 |
public static final int |
MESSAGEFILTER_FIELD_NUMBER |
3 |
public static final int |
MESSAGEWINDOWSIZE_FIELD_NUMBER |
4 |
public static final int |
OPTIONS_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
MESSAGEBOUND_FIELD_NUMBER |
2 |
public static final int |
MSGID_FIELD_NUMBER |
1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
SUBSCRIBERID_FIELD_NUMBER |
2 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
COLON |
":" |
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.