@ApplicationScoped public class DefaultIndyConfiguration extends Object implements IndyConfiguration, IndyConfigInfo, SystemPropertyProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
CASSANDRA_NFC_PROVIDER |
static Boolean |
DEFAULT_ALLOW_REMOTE_LIST_DOWNLOAD |
static String |
DEFAULT_DISPOSABLE_STORE_PATTERN |
static int |
DEFAULT_FORKJOINPOOL_COMMON_PARALLELISM |
static int |
DEFAULT_NFC_EXPIRATION_SWEEP_MINUTES |
static int |
DEFAULT_NFC_MAX_RESULT_SET_SIZE |
static String |
DEFAULT_NFC_PROVIDER |
static int |
DEFAULT_NOT_FOUND_CACHE_TIMEOUT_SECONDS |
static int |
DEFAULT_PASSTHROUGH_TIMEOUT_SECONDS |
static int |
DEFAULT_REMOTE_METADATA_TIMEOUT_SECONDS |
static int |
DEFAULT_REQUEST_TIMEOUT_SECONDS |
static Boolean |
DEFAULT_STANDALONE |
static int |
DEFAULT_STORE_DISABLE_TIMEOUT_SECONDS |
static String |
ISPN_NFC_PROVIDER |
PROP_NODE_IDAPPEND_DEFAULTS_TO_MAIN_CONF, CONF_INCLUDES_DIR| Constructor and Description |
|---|
DefaultIndyConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAffectedGroupsExcludeFilter() |
String |
getCacheKeyspace() |
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.
|
String |
getDisposableStorePattern()
Disposable stores can be deleted alone with its the content.
|
int |
getFileSystemContainingBatchSize()
FileSystemContaining is an operation by which we get what path in which repository.
|
int |
getForkJoinPoolCommonParallelism() |
String |
getGACacheStorePattern() |
void |
getGACacheStorePattern(String gaCacheStorePattern) |
File |
getIndyConfDir() |
File |
getIndyHomeDir() |
String |
getMdcHeaders()
List of http headers to look for and include in the MDC.
|
int |
getNfcExpirationSweepMinutes()
Number of minutes between sweeps of the NFC expiration reaper thread.
|
int |
getNfcMaxResultSetSize()
Page size of NFC getMissing result set
|
String |
getNfcProvider() |
String |
getNodeId()
Retrieve the node identifier to be used when deploying in a clustered context.
|
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 |
getRemoteMetadataTimeoutSeconds() |
int |
getRequestTimeoutSeconds() |
int |
getStoreDisableTimeoutSeconds() |
Properties |
getSystemPropertyAdditions() |
Boolean |
isAllowRemoteListDownload() |
boolean |
isClusterEnabled() |
boolean |
isRepositoryFilterEnabled() |
Boolean |
isStandalone()
Let indy run standalone local mode, which will not enable cassandra path mapped storage
|
void |
setAffectedGroupsExcludeFilter(String affectedGroupsExcludeFilter) |
void |
setAllowRemoteListDownload(Boolean allowRemoteListDownload) |
void |
setCacheKeyspace(String cacheKeyspace) |
void |
setClusterEnabled(Boolean clusterEnabled) |
void |
setDefaultNfcExpirationSweepMinutes(int minutes) |
void |
setDefaultNfcMaxResultSetSize(int size) |
void |
setDisposableStorePattern(String disposableStorePattern) |
void |
setFileSystemContainingBatchSize(int fileSystemContainingBatchSize) |
void |
setForkJoinPoolCommonParallelism(Integer forkJoinPoolCommonParallelism) |
void |
setMDCHeaders(String headers) |
void |
setNfcProvider(String nfcProvider) |
void |
setNodeId(String nodeId) |
void |
setNotFoundCacheTimeoutSeconds(int seconds) |
void |
setPassthroughTimeoutSeconds(int seconds) |
void |
setRemoteMetadataTimeoutSeconds(Integer remoteMetadataTimeoutSeconds) |
void |
setRepositoryFilterEnabled(boolean repositoryFilterEnabled) |
void |
setRequestTimeoutSeconds(Integer requestTimeoutSeconds) |
void |
setStandalone(Boolean standalone) |
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 static final Boolean DEFAULT_ALLOW_REMOTE_LIST_DOWNLOAD
public static final int DEFAULT_REMOTE_METADATA_TIMEOUT_SECONDS
public static final int DEFAULT_FORKJOINPOOL_COMMON_PARALLELISM
public static final String ISPN_NFC_PROVIDER
public static final String CASSANDRA_NFC_PROVIDER
public static final String DEFAULT_NFC_PROVIDER
public static final Boolean DEFAULT_STANDALONE
public static final String DEFAULT_DISPOSABLE_STORE_PATTERN
public String getNodeId()
IndyConfigurationgetNodeId in interface IndyConfigurationpublic void setNodeId(String nodeId)
public int getPassthroughTimeoutSeconds()
IndyConfigurationgetPassthroughTimeoutSeconds in interface IndyConfigurationpublic void setPassthroughTimeoutSeconds(int seconds)
public String getNfcProvider()
getNfcProvider in interface IndyConfigurationpublic void setNfcProvider(String nfcProvider)
public void setNotFoundCacheTimeoutSeconds(int seconds)
public void setMDCHeaders(String headers)
public String getMdcHeaders()
IndyConfigurationgetMdcHeaders in interface IndyConfigurationpublic 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 Boolean isAllowRemoteListDownload()
isAllowRemoteListDownload in interface IndyConfigurationpublic void setAllowRemoteListDownload(Boolean allowRemoteListDownload)
public String getDisposableStorePattern()
IndyConfigurationgetDisposableStorePattern in interface IndyConfigurationpublic void setDisposableStorePattern(String disposableStorePattern)
public void setStoreDisableTimeoutSeconds(Integer storeDisableTimeoutSeconds)
public int getRemoteMetadataTimeoutSeconds()
getRemoteMetadataTimeoutSeconds in interface IndyConfigurationpublic int getForkJoinPoolCommonParallelism()
getForkJoinPoolCommonParallelism in interface IndyConfigurationpublic boolean isClusterEnabled()
isClusterEnabled in interface IndyConfigurationpublic void setCacheKeyspace(String cacheKeyspace)
public String getCacheKeyspace()
getCacheKeyspace in interface IndyConfigurationpublic void setClusterEnabled(Boolean clusterEnabled)
public void setForkJoinPoolCommonParallelism(Integer forkJoinPoolCommonParallelism)
public void setRemoteMetadataTimeoutSeconds(Integer remoteMetadataTimeoutSeconds)
public String getAffectedGroupsExcludeFilter()
getAffectedGroupsExcludeFilter in interface IndyConfigurationpublic void setAffectedGroupsExcludeFilter(String affectedGroupsExcludeFilter)
public int getFileSystemContainingBatchSize()
IndyConfigurationgetFileSystemContainingBatchSize in interface IndyConfigurationpublic void setFileSystemContainingBatchSize(int fileSystemContainingBatchSize)
public Boolean isStandalone()
IndyConfigurationisStandalone in interface IndyConfigurationpublic void setRepositoryFilterEnabled(boolean repositoryFilterEnabled)
public boolean isRepositoryFilterEnabled()
isRepositoryFilterEnabled in interface IndyConfigurationpublic void getGACacheStorePattern(String gaCacheStorePattern)
public String getGACacheStorePattern()
getGACacheStorePattern in interface IndyConfigurationpublic void setStandalone(Boolean standalone)
public String getDefaultConfigFileName()
IndyConfigInfogetDefaultConfigFileName in interface IndyConfigInfopublic InputStream getDefaultConfig()
IndyConfigInfogetDefaultConfig in interface IndyConfigInfopublic Properties getSystemPropertyAdditions()
getSystemPropertyAdditions in interface SystemPropertyProviderCopyright © 2011-2020-2020. All Rights Reserved.