Package com.github.ambry.config
Class JsonAccountConfig
- java.lang.Object
-
- com.github.ambry.config.AccountServiceConfig
-
- com.github.ambry.config.JsonAccountConfig
-
public class JsonAccountConfig extends AccountServiceConfig
Config forJsonAccountService
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FILE_PATH
static java.lang.String
FILE_PATH_DEFAULT
static java.lang.String
JSON_ACCOUNT_PREFIX
Prefix used for all configuration options of the JSON account service.java.lang.String
jsonAccountFilePath
static java.lang.String
UPDATER_POLLING_INTERVAL_MS
int
updaterPollingIntervalMs
The time interval in milliseconds between polling the local account JSON file for changes.-
Fields inherited from class com.github.ambry.config.AccountServiceConfig
ACCOUNT_SERVICE_PREFIX, CONTAINER_DEPRECATION_RETENTION_DAYS, CONTAINER_ID_START_NUMBER, containerDeprecationRetentionDays, containerIdStartNumber, IGNORE_VERSION_MISMATCH, ignoreVersionMismatch, MAX_RETRY_COUNT_ON_UPDATE_FAILURE, maxRetryCountOnUpdateFailure, RETRY_DELAY_MS, retryDelayMs
-
-
Constructor Summary
Constructors Constructor Description JsonAccountConfig(VerifiableProperties verifiableProperties)
-
-
-
Field Detail
-
JSON_ACCOUNT_PREFIX
public static final java.lang.String JSON_ACCOUNT_PREFIX
Prefix used for all configuration options of the JSON account service.- See Also:
- Constant Field Values
-
UPDATER_POLLING_INTERVAL_MS
public static final java.lang.String UPDATER_POLLING_INTERVAL_MS
- See Also:
- Constant Field Values
-
FILE_PATH
public static final java.lang.String FILE_PATH
- See Also:
- Constant Field Values
-
FILE_PATH_DEFAULT
public static final java.lang.String FILE_PATH_DEFAULT
- See Also:
- Constant Field Values
-
jsonAccountFilePath
@Config("json.account.file.path") @Default("/tmp/accounts.json") public final java.lang.String jsonAccountFilePath
-
-
Constructor Detail
-
JsonAccountConfig
public JsonAccountConfig(VerifiableProperties verifiableProperties)
-
-