Package org.apache.bookkeeper.util
Class BookKeeperConstants
- java.lang.Object
-
- org.apache.bookkeeper.util.BookKeeperConstants
-
public class BookKeeperConstants extends java.lang.Object
This class contains constants used in BookKeeper.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AVAILABLE_NODE
static java.lang.String
BOOKIE_STATUS_FILENAME
static java.lang.String
CHECK_ALL_LEDGERS_CTIME
static java.lang.String
COLON
static java.lang.String
COOKIE_NODE
static java.lang.String
CURRENT_DIR
static java.lang.String
DEFAULT_ZK_LEDGERS_ROOT_PATH
static java.lang.String
DISABLE_HEALTH_CHECK
static java.lang.String
DISABLE_NODE
static byte[]
EMPTY_BYTE_ARRAY
static java.lang.String
FEATURE_DISABLE_ENSEMBLE_CHANGE
static java.lang.String
FEATURE_REPP_DISABLE_DURABILITY_ENFORCEMENT
static java.lang.String
INSTANCEID
static java.lang.String
LAYOUT_ZNODE
static java.lang.String
LEDGER_NODE_PREFIX
static java.lang.String
LOSTBOOKIERECOVERYDELAY_NODE
static long
MAX_LOG_SIZE_LIMIT
Set the max log size limit to 1GB.static java.lang.String
METADATA_CACHE
static java.lang.String
PASSWD
static java.lang.String
PLACEMENT_POLICY_CHECK_CTIME
static java.lang.String
READONLY
static java.lang.String
REPLICAS_CHECK_CTIME
static java.lang.String
UNDER_REPLICATION_LOCK
static java.lang.String
UNDER_REPLICATION_NODE
static java.lang.String
VERSION_FILENAME
-
Constructor Summary
Constructors Constructor Description BookKeeperConstants()
-
-
-
Field Detail
-
LEDGER_NODE_PREFIX
public static final java.lang.String LEDGER_NODE_PREFIX
- See Also:
- Constant Field Values
-
COLON
public static final java.lang.String COLON
- See Also:
- Constant Field Values
-
VERSION_FILENAME
public static final java.lang.String VERSION_FILENAME
- See Also:
- Constant Field Values
-
BOOKIE_STATUS_FILENAME
public static final java.lang.String BOOKIE_STATUS_FILENAME
- See Also:
- Constant Field Values
-
PASSWD
public static final java.lang.String PASSWD
- See Also:
- Constant Field Values
-
CURRENT_DIR
public static final java.lang.String CURRENT_DIR
- See Also:
- Constant Field Values
-
METADATA_CACHE
public static final java.lang.String METADATA_CACHE
- See Also:
- Constant Field Values
-
READONLY
public static final java.lang.String READONLY
- See Also:
- Constant Field Values
-
AVAILABLE_NODE
public static final java.lang.String AVAILABLE_NODE
- See Also:
- Constant Field Values
-
COOKIE_NODE
public static final java.lang.String COOKIE_NODE
- See Also:
- Constant Field Values
-
UNDER_REPLICATION_NODE
public static final java.lang.String UNDER_REPLICATION_NODE
- See Also:
- Constant Field Values
-
UNDER_REPLICATION_LOCK
public static final java.lang.String UNDER_REPLICATION_LOCK
- See Also:
- Constant Field Values
-
DISABLE_NODE
public static final java.lang.String DISABLE_NODE
- See Also:
- Constant Field Values
-
LOSTBOOKIERECOVERYDELAY_NODE
public static final java.lang.String LOSTBOOKIERECOVERYDELAY_NODE
- See Also:
- Constant Field Values
-
CHECK_ALL_LEDGERS_CTIME
public static final java.lang.String CHECK_ALL_LEDGERS_CTIME
- See Also:
- Constant Field Values
-
PLACEMENT_POLICY_CHECK_CTIME
public static final java.lang.String PLACEMENT_POLICY_CHECK_CTIME
- See Also:
- Constant Field Values
-
REPLICAS_CHECK_CTIME
public static final java.lang.String REPLICAS_CHECK_CTIME
- See Also:
- Constant Field Values
-
DEFAULT_ZK_LEDGERS_ROOT_PATH
public static final java.lang.String DEFAULT_ZK_LEDGERS_ROOT_PATH
- See Also:
- Constant Field Values
-
LAYOUT_ZNODE
public static final java.lang.String LAYOUT_ZNODE
- See Also:
- Constant Field Values
-
INSTANCEID
public static final java.lang.String INSTANCEID
- See Also:
- Constant Field Values
-
DISABLE_HEALTH_CHECK
public static final java.lang.String DISABLE_HEALTH_CHECK
- See Also:
- Constant Field Values
-
MAX_LOG_SIZE_LIMIT
public static final long MAX_LOG_SIZE_LIMIT
Set the max log size limit to 1GB. It makes extra room for entry log file before hitting hard limit '2GB'. So we don't need to force roll entry log file when flushing memtable (for performance consideration)- See Also:
- Constant Field Values
-
FEATURE_REPP_DISABLE_DURABILITY_ENFORCEMENT
public static final java.lang.String FEATURE_REPP_DISABLE_DURABILITY_ENFORCEMENT
- See Also:
- Constant Field Values
-
FEATURE_DISABLE_ENSEMBLE_CHANGE
public static final java.lang.String FEATURE_DISABLE_ENSEMBLE_CHANGE
- See Also:
- Constant Field Values
-
EMPTY_BYTE_ARRAY
public static final byte[] EMPTY_BYTE_ARRAY
-
-