Package fr.gouv.vitam.common
Class VitamConfiguration
- java.lang.Object
-
- fr.gouv.vitam.common.VitamConfiguration
-
public class VitamConfiguration extends java.lang.ObjectThis class contains default values shared among all services in Vitam
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringADMIN_PATHGeneral Admin pathstatic java.lang.StringADMIN_TENANT_URLpath for admintenantstatic java.lang.StringAUTOTEST_URLGeneral admin auto test pathstatic java.lang.StringDIP_EXPORT_URLpath for exporting DIPstatic java.lang.StringLOGIN_URLlogin pathstatic java.lang.StringLOGOUT_URLlogout pathstatic java.lang.StringMESSAGES_LOGBOOK_URLpath for messages/logbookstatic java.lang.StringMETRIC_URLGeneral metric pathstatic java.lang.StringOBJECT_DOWNLOAD_URLpath for download object datastatic java.lang.StringPERMISSIONS_URLpath for permissionsstatic java.lang.StringSECURE_MODE_URLpath for securemodestatic java.lang.StringSTATUS_URLGeneral status pathstatic java.lang.StringTENANTS_URLGeneral tenants pathstatic java.lang.StringVERSION_URLGeneral admin version pathprotected static java.lang.StringVITAM_CONFIG_PROPERTYProperty Vitam Config Folderprotected static java.lang.StringVITAM_DATA_PROPERTYProperty Vitam Data Folderprotected static java.lang.StringVITAM_LOG_PROPERTYProperty Vitam Log Folderprotected static java.lang.StringVITAM_TMP_PROPERTYProperty Vitam Tmp Folder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intgetAcceptableRequestTime()static java.lang.IntegergetAdminTenant()Getter for admin Tenantstatic java.lang.IntegergetAsyncWorkspaceQueueSize()static intgetBatchSize()Get the batchSize.static BinarySizePlatformThresholdgetBinarySizePlatformThreshold()static java.util.List<BinarySizeTenantThreshold>getBinarySizeTenantThreshold()static java.lang.IntegergetBufferNumber()getter for bufferNumberstatic intgetBulkAtomicUpdateBatchSize()static intgetBulkAtomicUpdateThreadPoolQueueSize()static intgetBulkAtomicUpdateThreadPoolSize()static intgetCacheControlDelay()Getter for cacheControlDelay;static java.lang.IntegergetChunkSize()static ClassificationLevelgetClassificationLevel()static longgetComputedInheritedRulesThreshold()java.lang.StringgetConfig()Get Config directorystatic VitamConfigurationgetConfiguration()static java.lang.IntegergetConnectTimeout()static intgetCriticalRequestTime()java.lang.StringgetData()Get Data directorystatic DigestTypegetDefaultDigestType()static java.lang.StringgetDefaultLang()getter for DEFAULT_LANGstatic intgetDefaultOffset()Get defaultOffsetstatic java.lang.StringgetDefaultOriginatingAgencyForExport(java.lang.Integer tenant)Getter for default OriginatingAgency for DIP export OriginatingAgency conflictstatic java.lang.StringgetDefaultStrategy()static DigestTypegetDefaultTimestampDigestType()static java.lang.IntegergetDelayGetClient()static java.lang.IntegergetDelayMultipleInputstream()getter for delayMultipleInputstreamstatic java.lang.IntegergetDelayMultipleSubinputstream()getter for delayMultipleSubinputstreamstatic java.lang.IntegergetDelayValidationAfterInactivity()static intgetDeleteIncompleteReconstructedUnitDelay()Get the delay of deleting incomplete reconstructed unitsstatic shortgetDiffVersion()static intgetDistributeurBatchSize()Getter for distributeurBatchSize;static longgetDistributionThreshold()Getter for distributionThreshold;static java.lang.IntegergetElasticSearchScrollLimit()static java.lang.IntegergetElasticSearchScrollTimeoutInMilliseconds()static java.lang.IntegergetElasticSearchTimeoutWaitRequestInMilliseconds()static longgetEliminationActionThreshold()static longgetEliminationAnalysisThreshold()static java.util.Map<java.lang.Integer,java.util.List<java.lang.String>>getEliminationReportExtraFields()static java.lang.StringgetEnvironmentName()Get environmentNamestatic intgetExpireCacheEntriesDelay()Setter for expireCacheEntriesDelaystatic intgetHttpClientFirstAttemptWaitingTime()static intgetHttpClientRandomWaitingSleep()static intgetHttpClientRetry()static intgetHttpClientWaitingTime()static java.util.List<java.lang.String>getIndexInheritedRulesWithAPIV2OutputByTenant()static java.util.List<java.lang.String>getIndexInheritedRulesWithRulesIdByTenant()static java.lang.IntegergetIntervalDelayCheckIdle()static intgetIntervalDelayLogInProgressWorker()Getterstatic intgetKeywordMaxLength()Getterjava.lang.StringgetLog()Get Log directorystatic intgetMaxCacheEntries()Getter for maxCacheEntries;static java.lang.IntegergetMaxClientPerHost()static java.lang.IntegergetMaxConcurrentMultipleInputstreamHandler()getter for maxConcurrentMultipleInputstreamHandlerstatic java.lang.IntegergetMaxDelayUnusedConnection()static intgetMaxElasticsearchBulk()Getter for maxElasticsearchBulk;static intgetMaxResultWindow()Get the maxResultWindowstatic java.lang.IntegergetMaxTotalClient()static intgetMigrationBulkSize()Get migrationBulkSizestatic java.lang.IntegergetMinimumThreadPoolSize()getter for minimumThreadPoolSizestatic java.lang.IntegergetNoValidationAfterInactivity()getter for noValidationAfterInactivitystatic intgetNumberDbClientThread()Getter for numberDbClientThread;static java.lang.IntegergetNumberEsQueue()Getter for numberEsQueue;static intgetOntologyCacheMaxEntries()static intgetOntologyCacheTimeoutInSeconds()static longgetOperationMaxSizeForExternal()static intgetOptimisticLockRetryNumber()Get optimistic lock retry numberstatic intgetOptimisticLockSleepTime()Get optimistic lock sleep timestatic intgetProcessEngineWaitForStepTimeout()static longgetQueriesThreshold()Getter for queriesThreshold;static java.lang.IntegergetReadTimeout()static intgetReclassificationMaxBulkThreshold()Max dsl queries per reclassification requeststatic intgetReclassificationMaxGuildListSizeInLogbookOperation()Max guid to store in logbook operation in evDetDatastatic intgetReclassificationMaxUnitsThreshold()Max units to update per reclassification requeststatic java.lang.IntegergetRecvBufferSize()static intgetRequestTimeAlertThrottlingDelay()static intgetRestoreBulkSize()Getter restore bulk sizestatic java.lang.IntegergetRetryDelay()static java.lang.IntegergetRetryNumber()static java.lang.StringgetSecret()static DigestTypegetSecurityDigestType()static longgetShutdownTimeout()static intgetStoreGraphElementsPerFile()Get the store graph elements per filestatic java.lang.IntegergetStoreGraphOverlapDelay()Get store graph overlap delaystatic longgetSwiftFileLimit()static java.util.List<java.lang.Integer>getTenants()Getter for list of tenantstatic intgetTextContentMaxLength()static intgetTextMaxLength()Getterjava.lang.StringgetTmp()Get Tmp directorystatic java.lang.IntegergetVitamCleanPeriod()getter for vitamTmpFolderDefaultstatic java.lang.StringgetVitamConfigFolder()static java.lang.StringgetVitamConfigFolderDefault()getter for vitamConfigFolderDefaultstatic java.lang.StringgetVitamConfigProperty()getter for VITAM_CONFIG_PROPERTYstatic java.lang.StringgetVitamDataFolder()static java.lang.StringgetVitamDataFolderDefault()getter for vitamDataFolderDefaultstatic java.lang.StringgetVitamDataProperty()getter for VITAM_DATA_PROPERTYstatic java.util.Map<java.lang.String,java.lang.String>getVitamDefaultCodeListVersion()static java.lang.StringgetVitamDefaultTransferringAgency()static java.lang.StringgetVitamGriffinExecFolder()static java.lang.StringgetVitamGriffinInputFilesFolder()static java.lang.StringgetVitamLogFolder()static java.lang.StringgetVitamLogFolderDefault()getter for vitamLogFolderDefaultstatic java.lang.StringgetVitamLogProperty()getter for VITAM_LOG_PROPERTYstatic java.lang.StringgetVitamTmpFolder()static java.lang.StringgetVitamTmpFolderDefault()getter for vitamTmpFolderDefaultstatic java.lang.StringgetVitamTmpProperty()getter for VITAM_TMP_PROPERTYstatic java.lang.IntegergetWaitingDelay()static intgetWorkerBulkSize()Getter for worker bulk sizestatic intgetWorkspaceFreespaceThreshold()static java.lang.StringgetWorkspaceWorkflowsFolder()static voidimportConfigurationParameters(VitamConfigurationParameters parameters)import not null parameters configuration from VitamConfigurationParametersstatic java.lang.BooleanisAllowGzipDecoding()getter for allowGzipDecodingstatic java.lang.BooleanisAllowGzipEncoding()getter for allowGzipEncodingstatic booleanisExportScore()Getter for exportScore;static java.lang.BooleanisFilterActivation()static java.lang.BooleanisForceChunkModeInputStream()getter for forceChunkModeInputStreamstatic booleanisIntegrationTest()static booleanisPurgeTemporaryLFC()static java.lang.BooleanisUseNewJaxrClient()static voidreinit()static voidsetAdminTenant(java.lang.Integer adminTenant)Setter for admin Tenantstatic voidsetAsyncWorkspaceQueueSize(int queueSize)set the size of the queue of async workspacestatic voidsetBatchSize(int batchSize)Set the batchSize.static voidsetBinarySizePlatformThreshold(BinarySizePlatformThreshold binarySizePlatformThreshold)static voidsetBinarySizeTenantThreshold(java.util.List<BinarySizeTenantThreshold> binarySizeTenantThreshold)static voidsetBulkAtomicUpdateBatchSize(int bulkAtomicUpdateBatchSize)static voidsetBulkAtomicUpdateThreadPoolQueueSize(int bulkAtomicUpdateThreadPoolQueueSize)static voidsetBulkAtomicUpdateThreadPoolSize(int bulkAtomicUpdateThreadPoolSize)static voidsetCacheControlDelay(int cacheControlDelay)Setter for cacheControlDelay;static voidsetClassificationLevel(ClassificationLevel classificationLevel)static voidsetComputedInheritedRulesThreshold(long computedInheritedRulesThreshold)VitamConfigurationsetConfig(java.lang.String config)Set Config directorystatic voidsetConnectTimeout(int timeout)Junit facilityVitamConfigurationsetData(java.lang.String data)Set Data directorystatic voidsetDefaultLang(java.lang.String defaultLang)setter for DEFAULT_LANGstatic voidsetDefaultOriginatingAgencyByTenant(java.util.Map<java.lang.Integer,java.lang.String> defaultOriginatingAgencyForExport)Setter for default OriginatingAgency for DIP export OriginatingAgency conflictstatic voidsetDelayMultipleInputstream(int delayMultipleInputstream)setter for delayMultipleSubinputstreamstatic voidsetDeleteIncompleteReconstructedUnitDelay(int deleteIncompleteReconstructedUnitDelay)Set the delay of deleting incomplete reconstructed unitsstatic voidsetDistributeurBatchSize(int distributeurBatchSize)Setter for distributeurBatchSize;static voidsetDistributionThreshold(long distributionThreshold)Setter for distributionThreshold;static voidsetElasticSearchScrollLimit(java.lang.Integer elasticSearchScrollLimit)static voidsetElasticSearchScrollTimeoutInMilliseconds(java.lang.Integer elasticSearchScrollTimeoutInMilliseconds)static voidsetElasticSearchTimeoutWaitRequestInMilliseconds(java.lang.Integer elasticSearchTimeoutWaitRequestInMilliseconds)static voidsetEliminationActionThreshold(long eliminationActionThreshold)static voidsetEliminationAnalysisThreshold(long eliminationAnalysisThreshold)static voidsetEliminationReportExtraFields(java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> eliminationReportExtraFields)static voidsetEnvironmentName(java.lang.String environmentName)set the environmentNamestatic voidsetExpireCacheEntriesDelay(int expireCacheEntriesDelay)Getter for expireCacheEntriesDelaystatic voidsetFilterActivation(java.lang.Boolean filterActivationValue)static voidsetHttpClientFirstAttemptWaitingTime(int httpClientFirstAttemptWaitingTime)static voidsetHttpClientRandomWaitingSleep(int httpClientRandomWaitingSleep)static voidsetHttpClientRetry(int httpClientRetry)static voidsetHttpClientWaitingTime(int httpClientWaitingTime)static voidsetIndexInheritedRulesWithAPIV2OutputByTenant(java.util.List<java.lang.String> indexInheritedRulesWithAPIV2OutputByTenant)static voidsetIndexInheritedRulesWithRulesIdByTenant(java.util.List<java.lang.String> indexInheritedRulesWithRulesIdByTenant)static voidsetIntegrationTest(boolean value)setIntegrationTeststatic voidsetIntervalDelayLogInProgressWorker(int intervalDelayLogInProgressWorker)Setterstatic voidsetKeywordMaxLength(int keywordMaxLength)SetterVitamConfigurationsetLog(java.lang.String log)Set Log directorystatic voidsetMaxCacheEntries(int maxCacheEntries)Setter for maxCacheEntries;static voidsetMaxResultWindow(int maxResultWindow)Set the maxResultWindowstatic voidsetMigrationBulkSize(int migrationBulkSize)Set the migrationBulkSizestatic voidsetOntologyCacheMaxEntries(int ontologyCacheMaxEntries)static voidsetOntologyCacheTimeoutInSeconds(int ontologyCacheTimeoutInSeconds)static voidsetOperationMaxSizeForExternal(long operationMaxSizeForExternal)static voidsetOptimisticLockRetryNumber(int optimisticLockRetryNumber)Set optimistic lock retry numberstatic voidsetOptimisticLockSleepTime(int optimisticLockSleepTime)Set optimistic lock sleep timestatic voidsetProcessEngineWaitForStepTimeout(int processEngineWaitForStepTimeout)static voidsetPurgeTemporaryLFC(boolean purgeTemporaryLFC)static voidsetQueriesThreshold(long queriesThreshold)Setter for queriesThreshold;static voidsetReclassificationMaxBulkThreshold(int reclassificationMaxBulkThreshold)Max dsl queries per reclassification requeststatic voidsetReclassificationMaxGuildListSizeInLogbookOperation(int reclassificationMaxGuildListSizeInLogbookOperation)Max guid to store in logbook operation in evDetDatastatic voidsetReclassificationMaxUnitsThreshold(int reclassificationMaxUnitsThreshold)Max units to update per reclassification requeststatic voidsetRequestTimeAlertThrottlingDelay(int requestTimeAlertThrottlingDelay)static voidsetRestoreBulkSize(int restoreBulkSize)Setter restore bulk sizestatic voidsetSecret(java.lang.String secretValue)static voidsetStoreGraphElementsPerFile(java.lang.Integer storeGraphElementsPerFile)Set store graph elements per filestatic voidsetStoreGraphOverlapDelay(java.lang.Integer storeGraphOverlapDelay)Set store graph overlap delaystatic voidsetTenants(java.util.List<java.lang.Integer> tenants)static voidsetTextContentMaxLength(int textContentMaxLength)static voidsetTextMaxLength(int textMaxLength)SetterVitamConfigurationsetTmp(java.lang.String tmp)Set Tmp directorystatic voidsetVitamDefaultCodeListVersion(java.util.Map<java.lang.String,java.lang.String> vitamDefaultCodeListVersion)static voidsetVitamDefaultTransferringAgency(java.lang.String vitamDefaultTransferringAgency)static voidsetVitamGriffinExecFolder(java.lang.String vitamGriffinExecFolder)static voidsetVitamGriffinInputFilesFolder(java.lang.String vitamGriffinInputFilesFolder)static voidsetWorkerBulkSize(int workerBulkSize)Setter worker bulk sizestatic voidsetWorkspaceFreespaceThreshold(int workspaceFreespaceThreshold)static voidsetWorkspaceWorkflowsFolder(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
-
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)
-
getEliminationReportExtraFields
public static java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> getEliminationReportExtraFields()
-
setEliminationReportExtraFields
public static void setEliminationReportExtraFields(java.util.Map<java.lang.Integer,java.util.List<java.lang.String>> eliminationReportExtraFields)
-
getDiffVersion
public static short getDiffVersion()
-
-