Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
AddEntryQuorumTimeoutException |
-21 |
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 |
DuplicateEntryIdException |
-22 |
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 |
LedgerExistException |
-20 |
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 |
TimeoutException |
-23 |
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_QUORUM_TIMEOUT_SEC |
"addEntryQuorumTimeoutSec" |
protected static final String |
ADD_ENTRY_TIMEOUT_SEC |
"addEntryTimeoutSec" |
protected static final String |
BOOKIE_ERROR_THRESHOLD_PER_INTERVAL |
"bookieErrorThresholdPerInterval" |
protected static final String |
BOOKIE_HEALTH_CHECK_ENABLED |
"bookieHealthCheckEnabled" |
protected static final String |
BOOKIE_HEALTH_CHECK_INTERVAL_SECONDS |
"bookieHealthCheckIntervalSeconds" |
protected static final String |
BOOKIE_QUARANTINE_TIME_SECONDS |
"bookieQuarantineTimeSeconds" |
protected static final String |
CLIENT_AUTH_PROVIDER_FACTORY_CLASS |
"clientAuthProviderFactoryClass" |
protected static final String |
CLIENT_CONNECT_TIMEOUT_MILLIS |
"clientConnectTimeoutMillis" |
protected static final String |
CLIENT_RECEIVEBUFFER_SIZE |
"clientReceiveBufferSize" |
protected static final String |
CLIENT_SENDBUFFER_SIZE |
"clientSendBufferSize" |
protected static final String |
CLIENT_TCP_NODELAY |
"clientTcpNoDelay" |
protected static final String |
CLIENT_WRITEBUFFER_HIGH_WATER_MARK |
"clientWriteBufferHighWaterMark" |
protected static final String |
CLIENT_WRITEBUFFER_LOW_WATER_MARK |
"clientWriteBufferLowWaterMark" |
protected static final String |
DIGEST_TYPE |
"digestType" |
protected static final String |
ENABLE_TASK_EXECUTION_STATS |
"enableTaskExecutionStats" |
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 |
TASK_EXECUTION_WARN_TIME_MICROS |
"taskExecutionWarnTimeMicros" |
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_AUTH_PROVIDER_FACTORY_CLASS |
"bookieAuthProviderFactoryClass" |
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 |
COMPACTION_RATE_BY_BYTES |
"compactionRateByBytes" |
protected static final String |
COMPACTION_RATE_BY_ENTRIES |
"compactionRateByEntries" |
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_LOCAL_TRANSPORT |
"enableLocalTransport" |
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 |
FORCE_READ_ONLY_BOOKIE |
"forceReadOnlyBookie" |
protected static final String |
GC_OVERREPLICATED_LEDGER_WAIT_TIME |
"gcOverreplicatedLedgerWaitTime" |
protected static final String |
GC_WAIT_TIME |
"gcWaitTime" |
protected static final String |
INDEX_DIRS |
"indexDirectories" |
protected static final String |
IS_FORCE_GC_ALLOW_WHEN_NO_SPACE |
"isForceGCAllowWhenNoSpace" |
protected static final String |
IS_THROTTLE_BY_BYTES |
"isThrottleByBytes" |
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 |
LEDGER_STORAGE_CLASS |
"ledgerStorageClass" |
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_RETRY_BACKOFF_MAX_MS |
"zkRetryBackoffMaxMs" |
protected static final String |
ZK_RETRY_BACKOFF_START_MS |
"zkRetryBackoffStartMs" |
protected static final String |
ZK_SERVERS |
"zkServers" |
protected static final String |
ZK_TIMEOUT |
"zkTimeout" |
Copyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.