Package fr.gouv.vitam.common
Class VitamConfiguration
- java.lang.Object
-
- fr.gouv.vitam.common.VitamConfiguration
-
public class VitamConfiguration extends java.lang.Object
This class contains default values shared among all services in Vitam
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ADMIN_PATH
General Admin pathstatic java.lang.String
ADMIN_TENANT_URL
path for admintenantstatic java.lang.String
AUTOTEST_URL
General admin auto test pathstatic java.lang.String
DIP_EXPORT_URL
path for exporting DIPstatic java.lang.String
LOGIN_URL
login pathstatic java.lang.String
LOGOUT_URL
logout pathstatic java.lang.String
MESSAGES_LOGBOOK_URL
path for messages/logbookstatic java.lang.String
METRIC_URL
General metric pathstatic java.lang.String
OBJECT_DOWNLOAD_URL
path for download object datastatic java.lang.String
PERMISSIONS_URL
path for permissionsstatic java.lang.String
SECURE_MODE_URL
path for securemodestatic java.lang.String
STATUS_URL
General status pathstatic java.lang.String
TENANTS_URL
General tenants pathstatic java.lang.String
VERSION_URL
General admin version pathprotected static java.lang.String
VITAM_CONFIG_PROPERTY
Property Vitam Config Folderprotected static java.lang.String
VITAM_DATA_PROPERTY
Property Vitam Data Folderprotected static java.lang.String
VITAM_LOG_PROPERTY
Property Vitam Log Folderprotected static java.lang.String
VITAM_TMP_PROPERTY
Property Vitam Tmp Folder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
getAcceptableRequestTime()
static java.lang.Integer
getAdminTenant()
Getter for admin Tenantstatic java.lang.Integer
getAsyncWorkspaceQueueSize()
static int
getBatchSize()
Get the batchSize.static BinarySizePlatformThreshold
getBinarySizePlatformThreshold()
static java.util.List<BinarySizeTenantThreshold>
getBinarySizeTenantThreshold()
static java.lang.Integer
getBufferNumber()
getter for bufferNumberstatic int
getBulkAtomicUpdateBatchSize()
static int
getBulkAtomicUpdateThreadPoolQueueSize()
static int
getBulkAtomicUpdateThreadPoolSize()
static int
getCacheControlDelay()
Getter for cacheControlDelay;static java.lang.Integer
getChunkSize()
static ClassificationLevel
getClassificationLevel()
static long
getComputedInheritedRulesThreshold()
java.lang.String
getConfig()
Get Config directorystatic VitamConfiguration
getConfiguration()
static java.lang.Integer
getConnectTimeout()
static int
getCriticalRequestTime()
java.lang.String
getData()
Get Data directorystatic DigestType
getDefaultDigestType()
static java.lang.String
getDefaultLang()
getter for DEFAULT_LANGstatic int
getDefaultOffset()
Get defaultOffsetstatic java.lang.String
getDefaultOriginatingAgencyForExport(java.lang.Integer tenant)
Getter for default OriginatingAgency for DIP export OriginatingAgency conflictstatic java.lang.String
getDefaultStrategy()
static DigestType
getDefaultTimestampDigestType()
static java.lang.Integer
getDelayGetClient()
static java.lang.Integer
getDelayMultipleInputstream()
getter for delayMultipleInputstreamstatic java.lang.Integer
getDelayMultipleSubinputstream()
getter for delayMultipleSubinputstreamstatic java.lang.Integer
getDelayValidationAfterInactivity()
static int
getDeleteIncompleteReconstructedUnitDelay()
Get the delay of deleting incomplete reconstructed unitsstatic short
getDiffVersion()
static int
getDistributeurBatchSize()
Getter for distributeurBatchSize;static long
getDistributionThreshold()
Getter for distributionThreshold;static java.lang.Integer
getElasticSearchScrollLimit()
static java.lang.Integer
getElasticSearchScrollTimeoutInMilliseconds()
static java.lang.Integer
getElasticSearchTimeoutWaitRequestInMilliseconds()
static long
getEliminationActionThreshold()
static long
getEliminationAnalysisThreshold()
static java.lang.String
getEnvironmentName()
Get environmentNamestatic int
getExpireCacheEntriesDelay()
Setter for expireCacheEntriesDelaystatic int
getHttpClientFirstAttemptWaitingTime()
static int
getHttpClientRandomWaitingSleep()
static int
getHttpClientRetry()
static int
getHttpClientWaitingTime()
static java.util.List<java.lang.String>
getIndexInheritedRulesWithAPIV2OutputByTenant()
static java.util.List<java.lang.String>
getIndexInheritedRulesWithRulesIdByTenant()
static java.lang.Integer
getIntervalDelayCheckIdle()
static int
getIntervalDelayLogInProgressWorker()
Getterstatic int
getKeywordMaxLength()
Getterjava.lang.String
getLog()
Get Log directorystatic int
getMaxCacheEntries()
Getter for maxCacheEntries;static java.lang.Integer
getMaxClientPerHost()
static java.lang.Integer
getMaxConcurrentMultipleInputstreamHandler()
getter for maxConcurrentMultipleInputstreamHandlerstatic java.lang.Integer
getMaxDelayUnusedConnection()
static int
getMaxElasticsearchBulk()
Getter for maxElasticsearchBulk;static int
getMaxResultWindow()
Get the maxResultWindowstatic java.lang.Integer
getMaxTotalClient()
static int
getMigrationBulkSize()
Get migrationBulkSizestatic java.lang.Integer
getMinimumThreadPoolSize()
getter for minimumThreadPoolSizestatic java.lang.Integer
getNoValidationAfterInactivity()
getter for noValidationAfterInactivitystatic int
getNumberDbClientThread()
Getter for numberDbClientThread;static java.lang.Integer
getNumberEsQueue()
Getter for numberEsQueue;static int
getOntologyCacheMaxEntries()
static int
getOntologyCacheTimeoutInSeconds()
static long
getOperationMaxSizeForExternal()
static int
getOptimisticLockRetryNumber()
Get optimistic lock retry numberstatic int
getOptimisticLockSleepTime()
Get optimistic lock sleep timestatic int
getProcessEngineWaitForStepTimeout()
static long
getQueriesThreshold()
Getter for queriesThreshold;static java.lang.Integer
getReadTimeout()
static int
getReclassificationMaxBulkThreshold()
Max dsl queries per reclassification requeststatic int
getReclassificationMaxGuildListSizeInLogbookOperation()
Max guid to store in logbook operation in evDetDatastatic int
getReclassificationMaxUnitsThreshold()
Max units to update per reclassification requeststatic java.lang.Integer
getRecvBufferSize()
static int
getRequestTimeAlertThrottlingDelay()
static int
getRestoreBulkSize()
Getter restore bulk sizestatic java.lang.Integer
getRetryDelay()
static java.lang.Integer
getRetryNumber()
static java.lang.String
getSecret()
static DigestType
getSecurityDigestType()
static long
getShutdownTimeout()
static int
getStoreGraphElementsPerFile()
Get the store graph elements per filestatic java.lang.Integer
getStoreGraphOverlapDelay()
Get store graph overlap delaystatic long
getSwiftFileLimit()
static java.util.List<java.lang.Integer>
getTenants()
Getter for list of tenantstatic int
getTextContentMaxLength()
static int
getTextMaxLength()
Getterstatic java.lang.Integer
getThreadsAllowedToBlockForConnectionMultipliers()
java.lang.String
getTmp()
Get Tmp directorystatic java.lang.Integer
getVitamCleanPeriod()
getter for vitamTmpFolderDefaultstatic java.lang.String
getVitamConfigFolder()
static java.lang.String
getVitamConfigFolderDefault()
getter for vitamConfigFolderDefaultstatic java.lang.String
getVitamConfigProperty()
getter for VITAM_CONFIG_PROPERTYstatic java.lang.String
getVitamDataFolder()
static java.lang.String
getVitamDataFolderDefault()
getter for vitamDataFolderDefaultstatic java.lang.String
getVitamDataProperty()
getter for VITAM_DATA_PROPERTYstatic java.util.Map<java.lang.String,java.lang.String>
getVitamDefaultCodeListVersion()
static java.lang.String
getVitamDefaultTransferringAgency()
static java.lang.String
getVitamGriffinExecFolder()
static java.lang.String
getVitamGriffinInputFilesFolder()
static java.lang.String
getVitamLogFolder()
static java.lang.String
getVitamLogFolderDefault()
getter for vitamLogFolderDefaultstatic java.lang.String
getVitamLogProperty()
getter for VITAM_LOG_PROPERTYstatic java.lang.String
getVitamTmpFolder()
static java.lang.String
getVitamTmpFolderDefault()
getter for vitamTmpFolderDefaultstatic java.lang.String
getVitamTmpProperty()
getter for VITAM_TMP_PROPERTYstatic java.lang.Integer
getWaitingDelay()
static int
getWorkerBulkSize()
Getter for worker bulk sizestatic int
getWorkspaceFreespaceThreshold()
static java.lang.String
getWorkspaceWorkflowsFolder()
static void
importConfigurationParameters(VitamConfigurationParameters parameters)
import not null parameters configuration from VitamConfigurationParametersstatic java.lang.Boolean
isAllowGzipDecoding()
getter for allowGzipDecodingstatic java.lang.Boolean
isAllowGzipEncoding()
getter for allowGzipEncodingstatic boolean
isExportScore()
Getter for exportScore;static java.lang.Boolean
isFilterActivation()
static java.lang.Boolean
isForceChunkModeInputStream()
getter for forceChunkModeInputStreamstatic boolean
isIntegrationTest()
static boolean
isPurgeTemporaryLFC()
static java.lang.Boolean
isUseNewJaxrClient()
static void
reinit()
static void
setAdminTenant(java.lang.Integer adminTenant)
Setter for admin Tenantstatic void
setAsyncWorkspaceQueueSize(int queueSize)
set the size of the queue of async workspacestatic void
setBatchSize(int batchSize)
Set the batchSize.static void
setBinarySizePlatformThreshold(BinarySizePlatformThreshold binarySizePlatformThreshold)
static void
setBinarySizeTenantThreshold(java.util.List<BinarySizeTenantThreshold> binarySizeTenantThreshold)
static void
setBulkAtomicUpdateBatchSize(int bulkAtomicUpdateBatchSize)
static void
setBulkAtomicUpdateThreadPoolQueueSize(int bulkAtomicUpdateThreadPoolQueueSize)
static void
setBulkAtomicUpdateThreadPoolSize(int bulkAtomicUpdateThreadPoolSize)
static void
setCacheControlDelay(int cacheControlDelay)
Setter for cacheControlDelay;static void
setClassificationLevel(ClassificationLevel classificationLevel)
static void
setComputedInheritedRulesThreshold(long computedInheritedRulesThreshold)
VitamConfiguration
setConfig(java.lang.String config)
Set Config directorystatic void
setConnectTimeout(int timeout)
Junit facilityVitamConfiguration
setData(java.lang.String data)
Set Data directorystatic void
setDefaultLang(java.lang.String defaultLang)
setter for DEFAULT_LANGstatic void
setDefaultOriginatingAgencyByTenant(java.util.Map<java.lang.Integer,java.lang.String> defaultOriginatingAgencyForExport)
Setter for default OriginatingAgency for DIP export OriginatingAgency conflictstatic void
setDelayMultipleInputstream(int delayMultipleInputstream)
setter for delayMultipleSubinputstreamstatic void
setDeleteIncompleteReconstructedUnitDelay(int deleteIncompleteReconstructedUnitDelay)
Set the delay of deleting incomplete reconstructed unitsstatic void
setDistributeurBatchSize(int distributeurBatchSize)
Setter for distributeurBatchSize;static void
setDistributionThreshold(long distributionThreshold)
Setter for distributionThreshold;static void
setElasticSearchScrollLimit(java.lang.Integer elasticSearchScrollLimit)
static void
setElasticSearchScrollTimeoutInMilliseconds(java.lang.Integer elasticSearchScrollTimeoutInMilliseconds)
static void
setElasticSearchTimeoutWaitRequestInMilliseconds(java.lang.Integer elasticSearchTimeoutWaitRequestInMilliseconds)
static void
setEliminationActionThreshold(long eliminationActionThreshold)
static void
setEliminationAnalysisThreshold(long eliminationAnalysisThreshold)
static void
setEnvironmentName(java.lang.String environmentName)
set the environmentNamestatic void
setExpireCacheEntriesDelay(int expireCacheEntriesDelay)
Getter for expireCacheEntriesDelaystatic void
setFilterActivation(java.lang.Boolean filterActivationValue)
static void
setHttpClientFirstAttemptWaitingTime(int httpClientFirstAttemptWaitingTime)
static void
setHttpClientRandomWaitingSleep(int httpClientRandomWaitingSleep)
static void
setHttpClientRetry(int httpClientRetry)
static void
setHttpClientWaitingTime(int httpClientWaitingTime)
static void
setIndexInheritedRulesWithAPIV2OutputByTenant(java.util.List<java.lang.String> indexInheritedRulesWithAPIV2OutputByTenant)
static void
setIndexInheritedRulesWithRulesIdByTenant(java.util.List<java.lang.String> indexInheritedRulesWithRulesIdByTenant)
static void
setIntegrationTest(boolean value)
setIntegrationTeststatic void
setIntervalDelayLogInProgressWorker(int intervalDelayLogInProgressWorker)
Setterstatic void
setKeywordMaxLength(int keywordMaxLength)
SetterVitamConfiguration
setLog(java.lang.String log)
Set Log directorystatic void
setMaxCacheEntries(int maxCacheEntries)
Setter for maxCacheEntries;static void
setMaxResultWindow(int maxResultWindow)
Set the maxResultWindowstatic void
setMigrationBulkSize(int migrationBulkSize)
Set the migrationBulkSizestatic void
setOntologyCacheMaxEntries(int ontologyCacheMaxEntries)
static void
setOntologyCacheTimeoutInSeconds(int ontologyCacheTimeoutInSeconds)
static void
setOperationMaxSizeForExternal(long operationMaxSizeForExternal)
static void
setOptimisticLockRetryNumber(int optimisticLockRetryNumber)
Set optimistic lock retry numberstatic void
setOptimisticLockSleepTime(int optimisticLockSleepTime)
Set optimistic lock sleep timestatic void
setProcessEngineWaitForStepTimeout(int processEngineWaitForStepTimeout)
static void
setPurgeTemporaryLFC(boolean purgeTemporaryLFC)
static void
setQueriesThreshold(long queriesThreshold)
Setter for queriesThreshold;static void
setReclassificationMaxBulkThreshold(int reclassificationMaxBulkThreshold)
Max dsl queries per reclassification requeststatic void
setReclassificationMaxGuildListSizeInLogbookOperation(int reclassificationMaxGuildListSizeInLogbookOperation)
Max guid to store in logbook operation in evDetDatastatic void
setReclassificationMaxUnitsThreshold(int reclassificationMaxUnitsThreshold)
Max units to update per reclassification requeststatic void
setRequestTimeAlertThrottlingDelay(int requestTimeAlertThrottlingDelay)
static void
setRestoreBulkSize(int restoreBulkSize)
Setter restore bulk sizestatic void
setSecret(java.lang.String secretValue)
static void
setStoreGraphElementsPerFile(java.lang.Integer storeGraphElementsPerFile)
Set store graph elements per filestatic void
setStoreGraphOverlapDelay(java.lang.Integer storeGraphOverlapDelay)
Set store graph overlap delaystatic void
setTenants(java.util.List<java.lang.Integer> tenants)
static void
setTextContentMaxLength(int textContentMaxLength)
static void
setTextMaxLength(int textMaxLength)
SetterVitamConfiguration
setTmp(java.lang.String tmp)
Set Tmp directorystatic void
setVitamDefaultCodeListVersion(java.util.Map<java.lang.String,java.lang.String> vitamDefaultCodeListVersion)
static void
setVitamDefaultTransferringAgency(java.lang.String vitamDefaultTransferringAgency)
static void
setVitamGriffinExecFolder(java.lang.String vitamGriffinExecFolder)
static void
setVitamGriffinInputFilesFolder(java.lang.String vitamGriffinInputFilesFolder)
static void
setWorkerBulkSize(int workerBulkSize)
Setter worker bulk sizestatic void
setWorkspaceFreespaceThreshold(int workspaceFreespaceThreshold)
static void
setWorkspaceWorkflowsFolder(java.lang.String workspaceWorkflowsFolder)
-
-
-
Field Detail
-
ADMIN_PATH
public static final java.lang.String ADMIN_PATH
General Admin path- See Also:
- Constant Field Values
-
AUTOTEST_URL
public static final java.lang.String AUTOTEST_URL
General admin auto test path- See Also:
- Constant Field Values
-
VERSION_URL
public static final java.lang.String VERSION_URL
General admin version path- See Also:
- Constant Field Values
-
METRIC_URL
public static final java.lang.String METRIC_URL
General metric path- See Also:
- Constant Field Values
-
STATUS_URL
public static final java.lang.String STATUS_URL
General status path- See Also:
- Constant Field Values
-
TENANTS_URL
public static final java.lang.String TENANTS_URL
General tenants path- See Also:
- Constant Field Values
-
LOGIN_URL
public static final java.lang.String LOGIN_URL
login path- See Also:
- Constant Field Values
-
LOGOUT_URL
public static final java.lang.String LOGOUT_URL
logout path- See Also:
- Constant Field Values
-
MESSAGES_LOGBOOK_URL
public static final java.lang.String MESSAGES_LOGBOOK_URL
path for messages/logbook- See Also:
- Constant Field Values
-
OBJECT_DOWNLOAD_URL
public static final java.lang.String OBJECT_DOWNLOAD_URL
path for download object data- See Also:
- Constant Field Values
-
DIP_EXPORT_URL
public static final java.lang.String DIP_EXPORT_URL
path for exporting DIP- See Also:
- Constant Field Values
-
SECURE_MODE_URL
public static final java.lang.String SECURE_MODE_URL
path for securemode- See Also:
- Constant Field Values
-
ADMIN_TENANT_URL
public static final java.lang.String ADMIN_TENANT_URL
path for admintenant- See Also:
- Constant Field Values
-
PERMISSIONS_URL
public static final java.lang.String PERMISSIONS_URL
path for permissions- See Also:
- Constant Field Values
-
VITAM_CONFIG_PROPERTY
protected static final java.lang.String VITAM_CONFIG_PROPERTY
Property Vitam Config Folder- See Also:
- Constant Field Values
-
VITAM_DATA_PROPERTY
protected static final java.lang.String VITAM_DATA_PROPERTY
Property Vitam Data Folder- See Also:
- Constant Field Values
-
VITAM_LOG_PROPERTY
protected static final java.lang.String VITAM_LOG_PROPERTY
Property Vitam Log Folder- See Also:
- Constant Field Values
-
VITAM_TMP_PROPERTY
protected static final java.lang.String VITAM_TMP_PROPERTY
Property Vitam Tmp Folder- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfiguration
public static VitamConfiguration getConfiguration()
- Returns:
- the default Vitam Configuration
-
getAdminTenant
public static java.lang.Integer getAdminTenant()
Getter for admin Tenant- Returns:
- adminTenant
-
setAdminTenant
public static void setAdminTenant(java.lang.Integer adminTenant)
Setter for admin Tenant- Parameters:
adminTenant
-
-
getTenants
public static java.util.List<java.lang.Integer> getTenants()
Getter for list of tenant- Returns:
- tenant list
-
setTenants
public static void setTenants(java.util.List<java.lang.Integer> tenants)
- Parameters:
tenants
-
-
isPurgeTemporaryLFC
public static boolean isPurgeTemporaryLFC()
-
setPurgeTemporaryLFC
public static void setPurgeTemporaryLFC(boolean purgeTemporaryLFC)
-
getIntervalDelayLogInProgressWorker
public static int getIntervalDelayLogInProgressWorker()
Getter- Returns:
- intervalDelayLogInProgressWorker
-
setIntervalDelayLogInProgressWorker
public static void setIntervalDelayLogInProgressWorker(int intervalDelayLogInProgressWorker)
Setter- Parameters:
intervalDelayLogInProgressWorker
-
-
getOntologyCacheMaxEntries
public static int getOntologyCacheMaxEntries()
-
setOntologyCacheMaxEntries
public static void setOntologyCacheMaxEntries(int ontologyCacheMaxEntries)
-
getOntologyCacheTimeoutInSeconds
public static int getOntologyCacheTimeoutInSeconds()
-
setOntologyCacheTimeoutInSeconds
public static void setOntologyCacheTimeoutInSeconds(int ontologyCacheTimeoutInSeconds)
-
getHttpClientRetry
public static int getHttpClientRetry()
-
setHttpClientRetry
public static void setHttpClientRetry(int httpClientRetry)
-
getHttpClientFirstAttemptWaitingTime
public static int getHttpClientFirstAttemptWaitingTime()
-
setHttpClientFirstAttemptWaitingTime
public static void setHttpClientFirstAttemptWaitingTime(int httpClientFirstAttemptWaitingTime)
-
getHttpClientWaitingTime
public static int getHttpClientWaitingTime()
-
setHttpClientWaitingTime
public static void setHttpClientWaitingTime(int httpClientWaitingTime)
-
getHttpClientRandomWaitingSleep
public static int getHttpClientRandomWaitingSleep()
-
setHttpClientRandomWaitingSleep
public static void setHttpClientRandomWaitingSleep(int httpClientRandomWaitingSleep)
-
getTextContentMaxLength
public static int getTextContentMaxLength()
-
setTextContentMaxLength
public static void setTextContentMaxLength(int textContentMaxLength)
-
getProcessEngineWaitForStepTimeout
public static int getProcessEngineWaitForStepTimeout()
-
setProcessEngineWaitForStepTimeout
public static void setProcessEngineWaitForStepTimeout(int processEngineWaitForStepTimeout)
-
getWorkspaceFreespaceThreshold
public static int getWorkspaceFreespaceThreshold()
-
setWorkspaceFreespaceThreshold
public static void setWorkspaceFreespaceThreshold(int workspaceFreespaceThreshold)
-
getConfig
public java.lang.String getConfig()
Get Config directory- Returns:
- the Config directory
-
setConfig
public VitamConfiguration setConfig(java.lang.String config)
Set Config directory- Parameters:
config
- the config directory- Returns:
- this
-
getLog
public java.lang.String getLog()
Get Log directory- Returns:
- the Log directory
-
setLog
public VitamConfiguration setLog(java.lang.String log)
Set Log directory- Parameters:
log
- the Log directory- Returns:
- this
-
getData
public java.lang.String getData()
Get Data directory- Returns:
- the Data directory
-
setData
public VitamConfiguration setData(java.lang.String data)
Set Data directory- Parameters:
data
- the Data directory- Returns:
- this
-
getTmp
public java.lang.String getTmp()
Get Tmp directory- Returns:
- the Tmp directory
-
setTmp
public VitamConfiguration setTmp(java.lang.String tmp)
Set Tmp directory- Parameters:
tmp
- tmp the Tmp directory- Returns:
- this
-
importConfigurationParameters
public static void importConfigurationParameters(VitamConfigurationParameters parameters)
import not null parameters configuration from VitamConfigurationParameters- Parameters:
parameters
-
-
reinit
public static void reinit()
-
getVitamTmpFolder
public static java.lang.String getVitamTmpFolder()
- Returns:
- the VitamTmpFolder path
-
getVitamLogFolder
public static java.lang.String getVitamLogFolder()
- Returns:
- the VitamLogFolder path
-
getVitamDataFolder
public static java.lang.String getVitamDataFolder()
- Returns:
- the VitamDataFolder path
-
getVitamConfigFolder
public static java.lang.String getVitamConfigFolder()
- Returns:
- the VitamConfigFolder path
-
getChunkSize
public static java.lang.Integer getChunkSize()
- Returns:
- the default chunk size
-
getConnectTimeout
public static java.lang.Integer getConnectTimeout()
- Returns:
- the default connect timeout
-
setConnectTimeout
public static void setConnectTimeout(int timeout)
Junit facility- Parameters:
timeout
- to set
-
getReadTimeout
public static java.lang.Integer getReadTimeout()
- Returns:
- the default read timeout
-
getShutdownTimeout
public static long getShutdownTimeout()
- Returns:
- the default read timeout
-
getDefaultStrategy
public static java.lang.String getDefaultStrategy()
- Returns:
- the default strategy
-
getMaxTotalClient
public static java.lang.Integer getMaxTotalClient()
- Returns:
- the maxTotalClient
-
getMaxClientPerHost
public static java.lang.Integer getMaxClientPerHost()
- Returns:
- the maxClientPerHost
-
getDelayValidationAfterInactivity
public static java.lang.Integer getDelayValidationAfterInactivity()
- Returns:
- the delayValidationAfterInactivity
-
getDelayGetClient
public static java.lang.Integer getDelayGetClient()
- Returns:
- the delayGetClient
-
getIntervalDelayCheckIdle
public static java.lang.Integer getIntervalDelayCheckIdle()
- Returns:
- the intervalDelayCheckIdle
-
getMaxDelayUnusedConnection
public static java.lang.Integer getMaxDelayUnusedConnection()
- Returns:
- the maxDelayUnusedConnection
-
getSecret
public static java.lang.String getSecret()
- Returns:
- the secret
-
setSecret
public static void setSecret(java.lang.String secretValue)
- Parameters:
secretValue
- the secret to set
-
isFilterActivation
public static java.lang.Boolean isFilterActivation()
- Returns:
- the filterActivation
-
setFilterActivation
public static void setFilterActivation(java.lang.Boolean filterActivationValue)
- Parameters:
filterActivationValue
- the filterActivation to set
-
getAcceptableRequestTime
public static int getAcceptableRequestTime()
- Returns:
- the acceptableRequestTime
-
getCriticalRequestTime
public static int getCriticalRequestTime()
- Returns:
- the criticalRequestTime
-
getRequestTimeAlertThrottlingDelay
public static int getRequestTimeAlertThrottlingDelay()
-
getSecurityDigestType
public static DigestType getSecurityDigestType()
- Returns:
- the securityDigestType
-
getDefaultDigestType
public static DigestType getDefaultDigestType()
- Returns:
- the Default DigestType
-
getDefaultTimestampDigestType
public static DigestType getDefaultTimestampDigestType()
- Returns:
- the Default DigestType for time stamp generation
-
getThreadsAllowedToBlockForConnectionMultipliers
public static java.lang.Integer getThreadsAllowedToBlockForConnectionMultipliers()
- Returns:
- the threadsAllowedToBlockForConnectionMultipliers for MongoDb Client
-
getRetryNumber
public static java.lang.Integer getRetryNumber()
- Returns:
- the retryNumber
-
getRetryDelay
public static java.lang.Integer getRetryDelay()
- Returns:
- the retryDelay
-
getWaitingDelay
public static java.lang.Integer getWaitingDelay()
- Returns:
- the waiting Delay (wait)
-
getAsyncWorkspaceQueueSize
public static java.lang.Integer getAsyncWorkspaceQueueSize()
- Returns:
- the size of the queue of async workspace
-
getRecvBufferSize
public static java.lang.Integer getRecvBufferSize()
- Returns:
- the receive Buffer Size
-
isUseNewJaxrClient
public static java.lang.Boolean isUseNewJaxrClient()
- Returns:
- the use New Jaxr Client each time a getClient() from Factory is used
-
isIntegrationTest
public static boolean isIntegrationTest()
- Returns:
- true if is integration Test
-
setIntegrationTest
public static void setIntegrationTest(boolean value)
setIntegrationTest- Parameters:
value
-
-
getVitamConfigProperty
public static java.lang.String getVitamConfigProperty()
getter for VITAM_CONFIG_PROPERTY- Returns:
- vitam config property
-
getVitamDataProperty
public static java.lang.String getVitamDataProperty()
getter for VITAM_DATA_PROPERTY- Returns:
- VITAM_DATA_PROPERTY
-
getVitamLogProperty
public static java.lang.String getVitamLogProperty()
getter for VITAM_LOG_PROPERTY- Returns:
- VITAM_LOG_PROPERTY
-
getVitamTmpProperty
public static java.lang.String getVitamTmpProperty()
getter for VITAM_TMP_PROPERTY- Returns:
- VITAM_TMP_PROPERTY
-
getVitamConfigFolderDefault
public static java.lang.String getVitamConfigFolderDefault()
getter for vitamConfigFolderDefault- Returns:
- vitamConfigFolderDefault
-
getVitamDataFolderDefault
public static java.lang.String getVitamDataFolderDefault()
getter for vitamDataFolderDefault- Returns:
- vitamDataFolderDefault
-
getVitamLogFolderDefault
public static java.lang.String getVitamLogFolderDefault()
getter for vitamLogFolderDefault- Returns:
- vitamLogFolderDefault
-
getVitamCleanPeriod
public static java.lang.Integer getVitamCleanPeriod()
getter for vitamTmpFolderDefault- Returns:
- vitamCleanPeriod
-
getVitamTmpFolderDefault
public static java.lang.String getVitamTmpFolderDefault()
getter for vitamTmpFolderDefault- Returns:
- vitamTmpFolderDefault
-
setAsyncWorkspaceQueueSize
public static void setAsyncWorkspaceQueueSize(int queueSize)
set the size of the queue of async workspace- Parameters:
queueSize
-
-
getDelayMultipleInputstream
public static java.lang.Integer getDelayMultipleInputstream()
getter for delayMultipleInputstream- Returns:
- delayMultipleInputstream
-
setDelayMultipleInputstream
public static void setDelayMultipleInputstream(int delayMultipleInputstream)
setter for delayMultipleSubinputstream- Parameters:
delayMultipleInputstream
-
-
getDelayMultipleSubinputstream
public static java.lang.Integer getDelayMultipleSubinputstream()
getter for delayMultipleSubinputstream- Returns:
- delayMultipleSubinputstream
-
getMinimumThreadPoolSize
public static java.lang.Integer getMinimumThreadPoolSize()
getter for minimumThreadPoolSize- Returns:
- minimumThreadPoolSize
-
getNoValidationAfterInactivity
public static java.lang.Integer getNoValidationAfterInactivity()
getter for noValidationAfterInactivity- Returns:
- noValidationAfterInactivity
-
setRequestTimeAlertThrottlingDelay
public static void setRequestTimeAlertThrottlingDelay(int requestTimeAlertThrottlingDelay)
-
isAllowGzipEncoding
public static java.lang.Boolean isAllowGzipEncoding()
getter for allowGzipEncoding- Returns:
- allowGzipEncoding
-
isForceChunkModeInputStream
public static java.lang.Boolean isForceChunkModeInputStream()
getter for forceChunkModeInputStream- Returns:
- forceChunkModeInputStream
-
isAllowGzipDecoding
public static java.lang.Boolean isAllowGzipDecoding()
getter for allowGzipDecoding- Returns:
- allowGzipDecoding
-
getBufferNumber
public static java.lang.Integer getBufferNumber()
getter for bufferNumber- Returns:
- bufferNumber
-
getMaxConcurrentMultipleInputstreamHandler
public static java.lang.Integer getMaxConcurrentMultipleInputstreamHandler()
getter for maxConcurrentMultipleInputstreamHandler- Returns:
- maxConcurrentMultipleInputstreamHandler
-
getDefaultLang
public static java.lang.String getDefaultLang()
getter for DEFAULT_LANG- Returns:
- DEFAULT_LANG
-
setDefaultLang
public static void setDefaultLang(java.lang.String defaultLang)
setter for DEFAULT_LANG- Parameters:
defaultLang
-
-
getDistributeurBatchSize
public static int getDistributeurBatchSize()
Getter for distributeurBatchSize;- Returns:
- distributeurBatchSize
-
setDistributeurBatchSize
public static void setDistributeurBatchSize(int distributeurBatchSize)
Setter for distributeurBatchSize;- Parameters:
distributeurBatchSize
-
-
getWorkerBulkSize
public static int getWorkerBulkSize()
Getter for worker bulk size- Returns:
- getWorkerBulkSize
-
setWorkerBulkSize
public static void setWorkerBulkSize(int workerBulkSize)
Setter worker bulk size- Parameters:
workerBulkSize
-
-
getRestoreBulkSize
public static int getRestoreBulkSize()
Getter restore bulk size- Returns:
- restoreBulkSize
-
setRestoreBulkSize
public static void setRestoreBulkSize(int restoreBulkSize)
Setter restore bulk size- Parameters:
restoreBulkSize
-
-
getCacheControlDelay
public static int getCacheControlDelay()
Getter for cacheControlDelay;- Returns:
- cacheControlDelay
-
setCacheControlDelay
public static void setCacheControlDelay(int cacheControlDelay)
Setter for cacheControlDelay;- Parameters:
cacheControlDelay
-
-
getMaxCacheEntries
public static int getMaxCacheEntries()
Getter for maxCacheEntries;- Returns:
- maxCacheEntries
-
setMaxCacheEntries
public static void setMaxCacheEntries(int maxCacheEntries)
Setter for maxCacheEntries;- Parameters:
maxCacheEntries
-
-
getExpireCacheEntriesDelay
public static int getExpireCacheEntriesDelay()
Setter for expireCacheEntriesDelay- Returns:
- expireCacheEntriesDelay
-
setExpireCacheEntriesDelay
public static void setExpireCacheEntriesDelay(int expireCacheEntriesDelay)
Getter for expireCacheEntriesDelay- Parameters:
expireCacheEntriesDelay
-
-
isExportScore
public static boolean isExportScore()
Getter for exportScore;- Returns:
- exportScore
-
getMaxElasticsearchBulk
public static int getMaxElasticsearchBulk()
Getter for maxElasticsearchBulk;- Returns:
- maxElasticsearchBulk
-
getNumberDbClientThread
public static int getNumberDbClientThread()
Getter for numberDbClientThread;- Returns:
- numberDbClientThread
-
getNumberEsQueue
public static java.lang.Integer getNumberEsQueue()
Getter for numberEsQueue;- Returns:
- numberEsQueue
-
getDistributionThreshold
public static long getDistributionThreshold()
Getter for distributionThreshold;- Returns:
- distributionThreshold
-
setDistributionThreshold
public static void setDistributionThreshold(long distributionThreshold)
Setter for distributionThreshold;- Parameters:
distributionThreshold
-
-
getQueriesThreshold
public static long getQueriesThreshold()
Getter for queriesThreshold;- Returns:
- queriesThreshold
-
setQueriesThreshold
public static void setQueriesThreshold(long queriesThreshold)
Setter for queriesThreshold;- Parameters:
queriesThreshold
-
-
getBulkAtomicUpdateBatchSize
public static int getBulkAtomicUpdateBatchSize()
-
setBulkAtomicUpdateBatchSize
public static void setBulkAtomicUpdateBatchSize(int bulkAtomicUpdateBatchSize)
-
getBulkAtomicUpdateThreadPoolSize
public static int getBulkAtomicUpdateThreadPoolSize()
-
setBulkAtomicUpdateThreadPoolSize
public static void setBulkAtomicUpdateThreadPoolSize(int bulkAtomicUpdateThreadPoolSize)
-
getBulkAtomicUpdateThreadPoolQueueSize
public static int getBulkAtomicUpdateThreadPoolQueueSize()
-
setBulkAtomicUpdateThreadPoolQueueSize
public static void setBulkAtomicUpdateThreadPoolQueueSize(int bulkAtomicUpdateThreadPoolQueueSize)
-
getEliminationAnalysisThreshold
public static long getEliminationAnalysisThreshold()
-
setEliminationAnalysisThreshold
public static void setEliminationAnalysisThreshold(long eliminationAnalysisThreshold)
-
getEliminationActionThreshold
public static long getEliminationActionThreshold()
-
setEliminationActionThreshold
public static void setEliminationActionThreshold(long eliminationActionThreshold)
- Parameters:
eliminationActionThreshold
-
-
getComputedInheritedRulesThreshold
public static long getComputedInheritedRulesThreshold()
-
setComputedInheritedRulesThreshold
public static void setComputedInheritedRulesThreshold(long computedInheritedRulesThreshold)
-
getOperationMaxSizeForExternal
public static long getOperationMaxSizeForExternal()
- Returns:
- operationMaxSizeForExternal
-
setOperationMaxSizeForExternal
public static void setOperationMaxSizeForExternal(long operationMaxSizeForExternal)
- Parameters:
operationMaxSizeForExternal
-
-
getDefaultOriginatingAgencyForExport
public static java.lang.String getDefaultOriginatingAgencyForExport(java.lang.Integer tenant)
Getter for default OriginatingAgency for DIP export OriginatingAgency conflict- Returns:
- default originatingAgency for export
-
setDefaultOriginatingAgencyByTenant
public static void setDefaultOriginatingAgencyByTenant(java.util.Map<java.lang.Integer,java.lang.String> defaultOriginatingAgencyForExport)
Setter for default OriginatingAgency for DIP export OriginatingAgency conflict- Parameters:
defaultOriginatingAgencyForExport
- originatingAgency for export
-
setVitamDefaultTransferringAgency
public static void setVitamDefaultTransferringAgency(java.lang.String vitamDefaultTransferringAgency)
-
getVitamDefaultTransferringAgency
public static java.lang.String getVitamDefaultTransferringAgency()
-
getVitamDefaultCodeListVersion
public static java.util.Map<java.lang.String,java.lang.String> getVitamDefaultCodeListVersion()
-
setVitamDefaultCodeListVersion
public static void setVitamDefaultCodeListVersion(java.util.Map<java.lang.String,java.lang.String> vitamDefaultCodeListVersion)
-
getMaxResultWindow
public static int getMaxResultWindow()
Get the maxResultWindow- Returns:
- maxResultWindow
-
setMaxResultWindow
public static void setMaxResultWindow(int maxResultWindow)
Set the maxResultWindow- Parameters:
maxResultWindow
-
-
getBatchSize
public static int getBatchSize()
Get the batchSize.- Returns:
- batchSize
-
getStoreGraphElementsPerFile
public static int getStoreGraphElementsPerFile()
Get the store graph elements per file- Returns:
- storeGraphElementsPerFile
-
setStoreGraphElementsPerFile
public static void setStoreGraphElementsPerFile(java.lang.Integer storeGraphElementsPerFile)
Set store graph elements per file- Parameters:
storeGraphElementsPerFile
-
-
getStoreGraphOverlapDelay
public static java.lang.Integer getStoreGraphOverlapDelay()
Get store graph overlap delay- Returns:
- storeGraphOverlapDelay
-
setStoreGraphOverlapDelay
public static void setStoreGraphOverlapDelay(java.lang.Integer storeGraphOverlapDelay)
Set store graph overlap delay- Parameters:
storeGraphOverlapDelay
-
-
getDeleteIncompleteReconstructedUnitDelay
public static int getDeleteIncompleteReconstructedUnitDelay()
Get the delay of deleting incomplete reconstructed units- Returns:
- deleteIncompleteReconstructedUnitDelay
-
setDeleteIncompleteReconstructedUnitDelay
public static void setDeleteIncompleteReconstructedUnitDelay(int deleteIncompleteReconstructedUnitDelay)
Set the delay of deleting incomplete reconstructed units- Parameters:
deleteIncompleteReconstructedUnitDelay
-
-
getOptimisticLockRetryNumber
public static int getOptimisticLockRetryNumber()
Get optimistic lock retry number- Returns:
- optimisticLockRetryNumber
-
setOptimisticLockRetryNumber
public static void setOptimisticLockRetryNumber(int optimisticLockRetryNumber)
Set optimistic lock retry number- Parameters:
optimisticLockRetryNumber
-
-
getOptimisticLockSleepTime
public static int getOptimisticLockSleepTime()
Get optimistic lock sleep time- Returns:
- optimisticLockSleepTime
-
setOptimisticLockSleepTime
public static void setOptimisticLockSleepTime(int optimisticLockSleepTime)
Set optimistic lock sleep time- Parameters:
optimisticLockSleepTime
-
-
getKeywordMaxLength
public static int getKeywordMaxLength()
Getter- Returns:
- keywordMaxLength
-
setKeywordMaxLength
public static void setKeywordMaxLength(int keywordMaxLength)
Setter- Parameters:
keywordMaxLength
-
-
getTextMaxLength
public static int getTextMaxLength()
Getter- Returns:
- textMaxLength
-
setTextMaxLength
public static void setTextMaxLength(int textMaxLength)
Setter- Parameters:
textMaxLength
-
-
getDefaultOffset
public static int getDefaultOffset()
Get defaultOffset- Returns:
- defaultOffset
-
setBatchSize
public static void setBatchSize(int batchSize)
Set the batchSize.- Parameters:
batchSize
-
-
getSwiftFileLimit
public static long getSwiftFileLimit()
-
getMigrationBulkSize
public static int getMigrationBulkSize()
Get migrationBulkSize- Returns:
- migrationBulkSize
-
setMigrationBulkSize
public static void setMigrationBulkSize(int migrationBulkSize)
Set the migrationBulkSize- Parameters:
migrationBulkSize
-
-
getWorkspaceWorkflowsFolder
public static java.lang.String getWorkspaceWorkflowsFolder()
-
setWorkspaceWorkflowsFolder
public static void setWorkspaceWorkflowsFolder(java.lang.String workspaceWorkflowsFolder)
-
getBinarySizePlatformThreshold
public static BinarySizePlatformThreshold getBinarySizePlatformThreshold()
-
setBinarySizePlatformThreshold
public static void setBinarySizePlatformThreshold(BinarySizePlatformThreshold binarySizePlatformThreshold)
-
getBinarySizeTenantThreshold
public static java.util.List<BinarySizeTenantThreshold> getBinarySizeTenantThreshold()
-
setBinarySizeTenantThreshold
public static void setBinarySizeTenantThreshold(java.util.List<BinarySizeTenantThreshold> binarySizeTenantThreshold)
-
getEnvironmentName
public static java.lang.String getEnvironmentName()
Get environmentName- Returns:
- environmentName value
-
setEnvironmentName
public static void setEnvironmentName(java.lang.String environmentName)
set the environmentName
-
getReclassificationMaxBulkThreshold
public static int getReclassificationMaxBulkThreshold()
Max dsl queries per reclassification request
-
setReclassificationMaxBulkThreshold
public static void setReclassificationMaxBulkThreshold(int reclassificationMaxBulkThreshold)
Max dsl queries per reclassification request
-
getReclassificationMaxUnitsThreshold
public static int getReclassificationMaxUnitsThreshold()
Max units to update per reclassification request
-
setReclassificationMaxUnitsThreshold
public static void setReclassificationMaxUnitsThreshold(int reclassificationMaxUnitsThreshold)
Max units to update per reclassification request
-
getReclassificationMaxGuildListSizeInLogbookOperation
public static int getReclassificationMaxGuildListSizeInLogbookOperation()
Max guid to store in logbook operation in evDetData
-
setReclassificationMaxGuildListSizeInLogbookOperation
public static void setReclassificationMaxGuildListSizeInLogbookOperation(int reclassificationMaxGuildListSizeInLogbookOperation)
Max guid to store in logbook operation in evDetData
-
getClassificationLevel
public static ClassificationLevel getClassificationLevel()
-
setClassificationLevel
public static void setClassificationLevel(ClassificationLevel classificationLevel)
-
getVitamGriffinExecFolder
public static java.lang.String getVitamGriffinExecFolder()
-
setVitamGriffinExecFolder
public static void setVitamGriffinExecFolder(java.lang.String vitamGriffinExecFolder)
-
getVitamGriffinInputFilesFolder
public static java.lang.String getVitamGriffinInputFilesFolder()
-
setVitamGriffinInputFilesFolder
public static void setVitamGriffinInputFilesFolder(java.lang.String vitamGriffinInputFilesFolder)
-
getIndexInheritedRulesWithRulesIdByTenant
public static java.util.List<java.lang.String> getIndexInheritedRulesWithRulesIdByTenant()
-
setIndexInheritedRulesWithRulesIdByTenant
public static void setIndexInheritedRulesWithRulesIdByTenant(java.util.List<java.lang.String> indexInheritedRulesWithRulesIdByTenant)
-
getIndexInheritedRulesWithAPIV2OutputByTenant
public static java.util.List<java.lang.String> getIndexInheritedRulesWithAPIV2OutputByTenant()
-
setIndexInheritedRulesWithAPIV2OutputByTenant
public static void setIndexInheritedRulesWithAPIV2OutputByTenant(java.util.List<java.lang.String> indexInheritedRulesWithAPIV2OutputByTenant)
-
getElasticSearchScrollTimeoutInMilliseconds
public static java.lang.Integer getElasticSearchScrollTimeoutInMilliseconds()
-
setElasticSearchScrollTimeoutInMilliseconds
public static void setElasticSearchScrollTimeoutInMilliseconds(java.lang.Integer elasticSearchScrollTimeoutInMilliseconds)
-
getElasticSearchTimeoutWaitRequestInMilliseconds
public static java.lang.Integer getElasticSearchTimeoutWaitRequestInMilliseconds()
-
setElasticSearchTimeoutWaitRequestInMilliseconds
public static void setElasticSearchTimeoutWaitRequestInMilliseconds(java.lang.Integer elasticSearchTimeoutWaitRequestInMilliseconds)
-
getElasticSearchScrollLimit
public static java.lang.Integer getElasticSearchScrollLimit()
-
setElasticSearchScrollLimit
public static void setElasticSearchScrollLimit(java.lang.Integer elasticSearchScrollLimit)
-
getDiffVersion
public static short getDiffVersion()
-
-