public static interface GrpcConfigKeys.Server
| 限定符和类型 | 字段和说明 |
|---|---|
static boolean |
ASYNC_REQUEST_THREAD_POOL_CACHED_DEFAULT |
static String |
ASYNC_REQUEST_THREAD_POOL_CACHED_KEY |
static int |
ASYNC_REQUEST_THREAD_POOL_SIZE_DEFAULT |
static String |
ASYNC_REQUEST_THREAD_POOL_SIZE_KEY |
static boolean |
HEARTBEAT_CHANNEL_DEFAULT |
static String |
HEARTBEAT_CHANNEL_KEY |
static String |
HOST_DEFAULT |
static String |
HOST_KEY |
static int |
INSTALL_SNAPSHOT_REQUEST_ELEMENT_LIMIT_DEFAULT |
static String |
INSTALL_SNAPSHOT_REQUEST_ELEMENT_LIMIT_KEY |
static TimeDuration |
INSTALL_SNAPSHOT_REQUEST_TIMEOUT_DEFAULT |
static String |
INSTALL_SNAPSHOT_REQUEST_TIMEOUT_KEY |
static int |
LEADER_OUTSTANDING_APPENDS_MAX_DEFAULT |
static String |
LEADER_OUTSTANDING_APPENDS_MAX_KEY |
static TimeDuration |
LOG_MESSAGE_BATCH_DURATION_DEFAULT |
static String |
LOG_MESSAGE_BATCH_DURATION_KEY |
static int |
PORT_DEFAULT |
static String |
PORT_KEY |
static String |
PREFIX |
static Class<GrpcTlsConfig> |
TLS_CONF_CLASS |
static String |
TLS_CONF_PARAMETER |
static final String HOST_DEFAULT
static final int PORT_DEFAULT
static final String ASYNC_REQUEST_THREAD_POOL_CACHED_KEY
static final boolean ASYNC_REQUEST_THREAD_POOL_CACHED_DEFAULT
static final String ASYNC_REQUEST_THREAD_POOL_SIZE_KEY
static final int ASYNC_REQUEST_THREAD_POOL_SIZE_DEFAULT
static final Class<GrpcTlsConfig> TLS_CONF_CLASS
static final String LEADER_OUTSTANDING_APPENDS_MAX_KEY
static final int LEADER_OUTSTANDING_APPENDS_MAX_DEFAULT
static final String INSTALL_SNAPSHOT_REQUEST_ELEMENT_LIMIT_KEY
static final int INSTALL_SNAPSHOT_REQUEST_ELEMENT_LIMIT_DEFAULT
static final String INSTALL_SNAPSHOT_REQUEST_TIMEOUT_KEY
static final TimeDuration INSTALL_SNAPSHOT_REQUEST_TIMEOUT_DEFAULT
static final boolean HEARTBEAT_CHANNEL_DEFAULT
static final TimeDuration LOG_MESSAGE_BATCH_DURATION_DEFAULT
static String host(RaftProperties properties)
static String host(RaftProperties properties, Consumer<String> logger)
static void setHost(RaftProperties properties, String host)
static int port(RaftProperties properties)
static int port(RaftProperties properties, Consumer<String> logger)
static void setPort(RaftProperties properties, int port)
static boolean asyncRequestThreadPoolCached(RaftProperties properties)
static void setAsyncRequestThreadPoolCached(RaftProperties properties, boolean useCached)
static int asyncRequestThreadPoolSize(RaftProperties properties)
static void setAsyncRequestThreadPoolSize(RaftProperties properties, int port)
static GrpcTlsConfig tlsConf(Parameters parameters)
static void setTlsConf(Parameters parameters, GrpcTlsConfig conf)
static int leaderOutstandingAppendsMax(RaftProperties properties)
static void setLeaderOutstandingAppendsMax(RaftProperties properties, int maxAppend)
static int installSnapshotRequestElementLimit(RaftProperties properties)
static void setInstallSnapshotRequestElementLimit(RaftProperties properties, int elementLimit)
static TimeDuration installSnapshotRequestTimeout(RaftProperties properties)
static void setInstallSnapshotRequestTimeout(RaftProperties properties, TimeDuration installSnapshotRequestTimeout)
static boolean heartbeatChannel(RaftProperties properties)
static void setHeartbeatChannel(RaftProperties properties, boolean useSeparate)
static TimeDuration logMessageBatchDuration(RaftProperties properties)
static void setLogMessageBatchDuration(RaftProperties properties, TimeDuration logMessageBatchDuration)
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.