@ApplicationScoped public class DefaultIndyConfiguration extends Object implements IndyConfiguration, IndyConfigInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_NFC_EXPIRATION_SWEEP_MINUTES |
static int |
DEFAULT_NFC_MAX_RESULT_SET_SIZE |
static int |
DEFAULT_NOT_FOUND_CACHE_TIMEOUT_SECONDS |
static int |
DEFAULT_PASSTHROUGH_TIMEOUT_SECONDS |
static int |
DEFAULT_REQUEST_TIMEOUT_SECONDS |
static int |
DEFAULT_STORE_DISABLE_TIMEOUT_SECONDS |
APPEND_DEFAULTS_TO_MAIN_CONF, CONF_INCLUDES_DIR| Constructor and Description |
|---|
DefaultIndyConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getDefaultConfig()
The actual content which should be added to the default configuration file in case no configuration is provided, to allow modification of
defaults in future executions.
|
String |
getDefaultConfigFileName()
The name of the file to be written in case no configuration is provided, to allow modification of defaults in future executions.
|
File |
getIndyConfDir() |
File |
getIndyHomeDir() |
int |
getNfcExpirationSweepMinutes()
Number of minutes between sweeps of the NFC expiration reaper thread.
|
int |
getNfcMaxResultSetSize()
Page size of NFC getMissing result set
|
int |
getNotFoundCacheTimeoutSeconds()
Number of seconds before a negative cache (or, not-found cache) URL record will timeout.
|
int |
getPassthroughTimeoutSeconds()
Number of seconds before the content in a repository marked as "pass-through" will timeout.
|
int |
getRequestTimeoutSeconds() |
int |
getStoreDisableTimeoutSeconds() |
void |
setDefaultNfcExpirationSweepMinutes(int minutes) |
void |
setDefaultNfcMaxResultSetSize(int size) |
void |
setNotFoundCacheTimeoutSeconds(int seconds) |
void |
setPassthroughTimeoutSeconds(int seconds) |
void |
setRequestTimeoutSeconds(Integer requestTimeoutSeconds) |
void |
setStoreDisableTimeoutSeconds(Integer storeDisableTimeoutSeconds) |
public static final int DEFAULT_PASSTHROUGH_TIMEOUT_SECONDS
public static final int DEFAULT_NOT_FOUND_CACHE_TIMEOUT_SECONDS
public static final int DEFAULT_REQUEST_TIMEOUT_SECONDS
public static final int DEFAULT_STORE_DISABLE_TIMEOUT_SECONDS
public static final int DEFAULT_NFC_EXPIRATION_SWEEP_MINUTES
public static final int DEFAULT_NFC_MAX_RESULT_SET_SIZE
public int getPassthroughTimeoutSeconds()
IndyConfigurationgetPassthroughTimeoutSeconds in interface IndyConfigurationpublic void setPassthroughTimeoutSeconds(int seconds)
public void setNotFoundCacheTimeoutSeconds(int seconds)
public int getNotFoundCacheTimeoutSeconds()
IndyConfigurationgetNotFoundCacheTimeoutSeconds in interface IndyConfigurationpublic int getRequestTimeoutSeconds()
getRequestTimeoutSeconds in interface IndyConfigurationpublic void setRequestTimeoutSeconds(Integer requestTimeoutSeconds)
public int getStoreDisableTimeoutSeconds()
getStoreDisableTimeoutSeconds in interface IndyConfigurationpublic void setDefaultNfcExpirationSweepMinutes(int minutes)
public void setDefaultNfcMaxResultSetSize(int size)
public int getNfcExpirationSweepMinutes()
IndyConfigurationgetNfcExpirationSweepMinutes in interface IndyConfigurationpublic int getNfcMaxResultSetSize()
IndyConfigurationgetNfcMaxResultSetSize in interface IndyConfigurationpublic File getIndyHomeDir()
getIndyHomeDir in interface IndyConfigurationpublic File getIndyConfDir()
getIndyConfDir in interface IndyConfigurationpublic void setStoreDisableTimeoutSeconds(Integer storeDisableTimeoutSeconds)
public String getDefaultConfigFileName()
IndyConfigInfogetDefaultConfigFileName in interface IndyConfigInfopublic InputStream getDefaultConfig()
IndyConfigInfogetDefaultConfig in interface IndyConfigInfoCopyright © 2011-2018-2018. All Rights Reserved.