public static enum ReconfigurationConfig.RC extends java.lang.Enum<ReconfigurationConfig.RC> implements Config.ConfigurableEnum
Enum Constant and Description |
---|
AGGRESSIVE_DELETIONS
True if deletes are completed based on probing all actives.
|
AGGRESSIVE_RECONFIGURATIONS
True if further reconfigurations can progress without waiting for the
previous epoch final state to be dropped cleanly.
|
ALLOW_APP_TYPES_ON_SERVER_PORT
True if app request types are allowed on the server port.
|
ALLOW_CLIENT_TO_CREATE_DELETE
True means clients can create or delete names.
|
APPLICATION |
BROADCAST_NAME |
CLIENT_PORT_OFFSET
The default offset added to the active replica or reconfigurator port
number in order to get the client-facing port for client-facing
request types (CREATE_SERVICE_NAME, DELETE_SERVICE_NAME,
REQUEST_ACTIVE_REPLICAS at reconfigurators) and all app request types
at active replicas.
|
CLIENT_PORT_SSL_OFFSET |
CLIENT_SSL_MODE
Default TLS authentication mode for client-server communication.
|
CLOSEST_K
The closest K servers to a given client IP address.
|
COMBINE_DEMAND_STATS
Whether most recent demand report should be combined with historic
demand stats.
|
COMMIT_WORKER_RESTART_PERIOD
Default retransmission timeout for coordinated requests in the
reconfiguration protocol.
|
COORDINATOR_WRAPPER
The name of the class used to wrap the application's default
coordinator.
|
DEFAULT_NAME_INITIAL_STATE
Value of initial state used by the default service name (
ReconfigurationConfig.getDefaultServiceName() ). |
DEFAULT_NUM_REPLICAS
This parameter specifies the the number of active replicas for a name
at upon creation of the name.
|
DEMAND_PROFILE_TYPE
Demand profile class name.
|
DISABLE_RECONFIGURATION
A flag to stop even all reporting.
|
ENABLE_HTTP
Enable the HTTP server for reconfigurators.
|
ENABLE_ID_TRANSFORM
True means that request IDs will be automatically transformed by
ReconfigurableAppClientAsync if it receives two unequal
requests with identical IDs. |
ENABLE_INSTRUMENTATION
True if delay profiling is enabled at various places.
|
ENABLE_TRANSACTIONS
If true, transactions are enabled; else disabled.
|
HTTP_PORT_OFFSET
HTTP server port offset relative to reconfigurator port.
|
HTTP_PORT_SSL_OFFSET
HTTP server port offset relative to reconfigurator port.
|
MAX_BATCH_SIZE |
MAX_DEMAND_PROFILE_SIZE
Maximum string length of a demand profile message.
|
ORIENT_CLIENT
If true, a client actively probes active replicas in order to
determine which active replicas are closest to it.
|
ORIENT_LIMIT
The maximum number of actives that will be sent to a client when it
bootstraps to probe them in order to orient itself
|
OUT_OF_ORDER_LIMIT
Used to set @link
PaxosManager.setOutOfOrderLimit(int) . |
RECONFIGURATION_DB_DIR
Directory where reconfiguration DB is maintained when an embedded DB
is used.
|
RECONFIGURATION_DB_PREFIX
Prefix of the reconfiguration DB's name.
|
RECONFIGURE_IN_PLACE
Whether reconfigurations should be performed even though
AbstractDemandProfile returned a set of active replicas that are
identical to the current one.
|
REPLICATE_ALL
True means that a name upon creation will be replicated at all
current active replicas; else it will be replicated at at most
DEFAULT_NUM_REPLICAS randomly chosen active replicas. |
SEND_CLOSEST_TO_RECONFIGURATORS |
SERVER_SSL_MODE
Default TLS authentication mode for server-server communication.
|
SPECIAL_NAME
Requesting actives returns a random active replica for this name.
|
SQL_TYPE
SQL.SQLType type. |
STAMP_SENDER_ADDRESS_JSON |
STOP_TASK_RESTART_PERIOD
Default restart period for the stop epoch task.
|
TEST_DEMAND_PROFILE
True means that the demand profile implementation is tested at bootstrap
time to sanity check that its implementation meets the specification.
|
TWO_PAXOS_RC
If true, reconfiguration consists of committing an intent and then a
complete both via paxos.
|
TX_GROUP_NAME |
USE_DISK_MAP_RCDB |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConfigFileKey() |
java.lang.String |
getDefaultConfigFile() |
java.lang.Object |
getDefaultValue() |
static ReconfigurationConfig.RC |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReconfigurationConfig.RC[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReconfigurationConfig.RC APPLICATION
public static final ReconfigurationConfig.RC DEMAND_PROFILE_TYPE
public static final ReconfigurationConfig.RC RECONFIGURATION_DB_DIR
public static final ReconfigurationConfig.RC RECONFIGURATION_DB_PREFIX
public static final ReconfigurationConfig.RC SQL_TYPE
SQL.SQLType
type. Currently,
the only other alternative is "MYSQL". Note that this enum has the
same name as PaxosConfig.PC.SQL_TYPE
,
so the two are currently forced to use the same DB type.public static final ReconfigurationConfig.RC RECONFIGURE_IN_PLACE
public static final ReconfigurationConfig.RC CLIENT_SSL_MODE
public static final ReconfigurationConfig.RC SERVER_SSL_MODE
public static final ReconfigurationConfig.RC CLIENT_PORT_OFFSET
public static final ReconfigurationConfig.RC CLIENT_PORT_SSL_OFFSET
public static final ReconfigurationConfig.RC AGGRESSIVE_DELETIONS
public static final ReconfigurationConfig.RC AGGRESSIVE_RECONFIGURATIONS
public static final ReconfigurationConfig.RC COMMIT_WORKER_RESTART_PERIOD
public static final ReconfigurationConfig.RC STOP_TASK_RESTART_PERIOD
public static final ReconfigurationConfig.RC MAX_DEMAND_PROFILE_SIZE
public static final ReconfigurationConfig.RC COMBINE_DEMAND_STATS
public static final ReconfigurationConfig.RC TWO_PAXOS_RC
public static final ReconfigurationConfig.RC USE_DISK_MAP_RCDB
public static final ReconfigurationConfig.RC DEFAULT_NUM_REPLICAS
REPLICATE_ALL
is true and is irrelevant after name creation
as the number of replicas thereafter is controlled by the
reconfiguration policy.public static final ReconfigurationConfig.RC REPLICATE_ALL
DEFAULT_NUM_REPLICAS
randomly chosen active replicas. Note
that this parameter is irrelevant after name creation as the number
of replicas thereafter is controlled by the reconfiguration policy.public static final ReconfigurationConfig.RC MAX_BATCH_SIZE
public static final ReconfigurationConfig.RC SPECIAL_NAME
public static final ReconfigurationConfig.RC ENABLE_INSTRUMENTATION
public static final ReconfigurationConfig.RC STAMP_SENDER_ADDRESS_JSON
public static final ReconfigurationConfig.RC BROADCAST_NAME
public static final ReconfigurationConfig.RC ORIENT_CLIENT
public static final ReconfigurationConfig.RC ORIENT_LIMIT
public static final ReconfigurationConfig.RC CLOSEST_K
public static final ReconfigurationConfig.RC SEND_CLOSEST_TO_RECONFIGURATORS
public static final ReconfigurationConfig.RC DISABLE_RECONFIGURATION
public static final ReconfigurationConfig.RC ALLOW_CLIENT_TO_CREATE_DELETE
public static final ReconfigurationConfig.RC ALLOW_APP_TYPES_ON_SERVER_PORT
public static final ReconfigurationConfig.RC ENABLE_ID_TRANSFORM
ReconfigurableAppClientAsync
if it receives two unequal
requests with identical IDs.public static final ReconfigurationConfig.RC TEST_DEMAND_PROFILE
public static final ReconfigurationConfig.RC HTTP_PORT_OFFSET
public static final ReconfigurationConfig.RC HTTP_PORT_SSL_OFFSET
public static final ReconfigurationConfig.RC ENABLE_HTTP
public static final ReconfigurationConfig.RC ENABLE_TRANSACTIONS
public static final ReconfigurationConfig.RC COORDINATOR_WRAPPER
public static final ReconfigurationConfig.RC TX_GROUP_NAME
public static final ReconfigurationConfig.RC OUT_OF_ORDER_LIMIT
PaxosManager.setOutOfOrderLimit(int)
.public static final ReconfigurationConfig.RC DEFAULT_NAME_INITIAL_STATE
ReconfigurationConfig.getDefaultServiceName()
).public static ReconfigurationConfig.RC[] values()
for (ReconfigurationConfig.RC c : ReconfigurationConfig.RC.values()) System.out.println(c);
public static ReconfigurationConfig.RC valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Object getDefaultValue()
getDefaultValue
in interface Config.DefaultValueEnum
public java.lang.String getDefaultConfigFile()
getDefaultConfigFile
in interface Config.ConfigurableEnum
public java.lang.String getConfigFileKey()
getConfigFileKey
in interface Config.ConfigurableEnum