public static interface RaftServerConfigKeys.Log.Appender
| Modifier and Type | Field and Description |
|---|---|
static SizeInBytes |
BUFFER_BYTE_LIMIT_DEFAULT |
static String |
BUFFER_BYTE_LIMIT_KEY |
static int |
BUFFER_ELEMENT_LIMIT_DEFAULT
0 means no limit.
|
static String |
BUFFER_ELEMENT_LIMIT_KEY |
static boolean |
INSTALL_SNAPSHOT_ENABLED_DEFAULT |
static String |
INSTALL_SNAPSHOT_ENABLED_KEY |
static String |
PREFIX |
static SizeInBytes |
SNAPSHOT_CHUNK_SIZE_MAX_DEFAULT |
static String |
SNAPSHOT_CHUNK_SIZE_MAX_KEY |
| Modifier and Type | Method and Description |
|---|---|
static SizeInBytes |
bufferByteLimit(RaftProperties properties) |
static int |
bufferElementLimit(RaftProperties properties) |
static boolean |
installSnapshotEnabled(RaftProperties properties) |
static void |
setBufferByteLimit(RaftProperties properties,
SizeInBytes bufferByteLimit) |
static void |
setBufferElementLimit(RaftProperties properties,
int bufferElementLimit) |
static void |
setInstallSnapshotEnabled(RaftProperties properties,
boolean shouldInstallSnapshot) |
static void |
setSnapshotChunkSizeMax(RaftProperties properties,
SizeInBytes maxChunkSize) |
static SizeInBytes |
snapshotChunkSizeMax(RaftProperties properties) |
static final String PREFIX
static final String BUFFER_ELEMENT_LIMIT_KEY
static final int BUFFER_ELEMENT_LIMIT_DEFAULT
static final String BUFFER_BYTE_LIMIT_KEY
static final SizeInBytes BUFFER_BYTE_LIMIT_DEFAULT
static final String SNAPSHOT_CHUNK_SIZE_MAX_KEY
static final SizeInBytes SNAPSHOT_CHUNK_SIZE_MAX_DEFAULT
static final String INSTALL_SNAPSHOT_ENABLED_KEY
static final boolean INSTALL_SNAPSHOT_ENABLED_DEFAULT
static int bufferElementLimit(RaftProperties properties)
static void setBufferElementLimit(RaftProperties properties, int bufferElementLimit)
static SizeInBytes bufferByteLimit(RaftProperties properties)
static void setBufferByteLimit(RaftProperties properties, SizeInBytes bufferByteLimit)
static SizeInBytes snapshotChunkSizeMax(RaftProperties properties)
static void setSnapshotChunkSizeMax(RaftProperties properties, SizeInBytes maxChunkSize)
static boolean installSnapshotEnabled(RaftProperties properties)
static void setInstallSnapshotEnabled(RaftProperties properties, boolean shouldInstallSnapshot)
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.