Class StorageConfiguration
java.lang.Object
fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
fr.gouv.vitam.storage.engine.server.rest.StorageConfiguration
- All Implemented Interfaces:
VitamApplicationConfiguration
,VitamApplicationConfigurationInterface
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
IS_A_MANDATORY_PARAMETER, jettyConfig
-
Constructor Summary
ConstructorDescriptionStorageConfiguration empty constructor for YAMLFactory -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
int
int
Gets the overlap delay (in seconds) for logbook operation traceability events.void
setLoggingDirectory
(String loggingDirectory) setMinBulkWriteTimeoutMsPerObject
(int minBulkWriteTimeoutMsPerObject) setMinWriteTimeoutMs
(int minWriteTimeoutMs) void
setOfferSyncAccessRequestCheckWaitingTime
(int offerSyncAccessRequestCheckWaitingTime) void
setOfferSyncFirstAttemptWaitingTime
(int offerSyncFirstAttemptWaitingTime) setOfferSynchronizationBulkSize
(int offerSynchronizationBulkSize) void
setOfferSyncNumberOfRetries
(int offerSyncNumberOfRetries) setOfferSyncThreadPoolSize
(int offerSyncThreadPoolSize) void
setOfferSyncWaitingTime
(int offerSyncWaitingTime) void
setP12LogbookFile
(String p12LogbookFile) void
setP12LogbookPassword
(String p12LogbookPassword) setReadOnly
(Boolean readOnly) void
setStorageLogBackupThreadPoolSize
(int storageLogBackupThreadPoolSize) void
setStorageLogTraceabilityThreadPoolSize
(int storageLogTraceabilityThreadPoolSize) void
setStorageTraceabilityOverlapDelay
(Integer storageTraceabilityOverlapDelay) Sets the overlap delay (in seconds) for logbook operation traceability events.setTimeoutMsPerKB
(Integer timeoutMsPerKB) setUrlWorkspace
(String urlWorkspace) void
setZippingDirecorty
(String zippingDirecorty) Methods inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
getAdminBasicAuth, getJettyConfig, isAuthentication, isAuthorizeTrackTotalHits, isEnableSession, isEnableXsrFilter, isTenantFilter, setAdminBasicAuth, setAuthentication, setAuthorizeTrackTotalHits, setEnableSession, setEnableXsrFilter, setJettyConfig, setTenantFilter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfigurationInterface
getBaseUri, getBaseUrl, setBaseUri, setBaseUrl
-
Constructor Details
-
StorageConfiguration
public StorageConfiguration()StorageConfiguration empty constructor for YAMLFactory
-
-
Method Details
-
getUrlWorkspace
- Returns:
- the urlWorkspace
-
setUrlWorkspace
- Parameters:
urlWorkspace
- the urlWorkspace to set- Returns:
- this
-
getTimeoutMsPerKB
- Returns:
- the timeout in millisecond for one kB
-
setTimeoutMsPerKB
- Parameters:
timeoutMsPerKB
- the timeout for on kB transfered in milliseconds- Returns:
- this
-
getLoggingDirectory
- Returns:
- loggingDirectory
-
setLoggingDirectory
- Parameters:
loggingDirectory
-
-
getZippingDirecorty
- Returns:
- zippingDirecorty
-
setZippingDirecorty
- Parameters:
zippingDirecorty
-
-
getP12LogbookPassword
- Returns:
- password of p12
-
setP12LogbookPassword
- Parameters:
p12LogbookPassword
- file to set
-
getP12LogbookFile
- Returns:
- p12 logbook file
-
setP12LogbookFile
- Parameters:
p12LogbookFile
- file to set
-
getStorageTraceabilityOverlapDelay
Gets the overlap delay (in seconds) for logbook operation traceability events. Used to catch up possibly missed events due to clock difference.- Returns:
- The overlap delay (in seconds).
-
setStorageTraceabilityOverlapDelay
Sets the overlap delay (in seconds) for logbook operation traceability events. -
getOfferSynchronizationBulkSize
public int getOfferSynchronizationBulkSize() -
setOfferSynchronizationBulkSize
-
getOfferSyncThreadPoolSize
public int getOfferSyncThreadPoolSize() -
setOfferSyncThreadPoolSize
-
getOfferSyncNumberOfRetries
public int getOfferSyncNumberOfRetries() -
setOfferSyncNumberOfRetries
public void setOfferSyncNumberOfRetries(int offerSyncNumberOfRetries) -
getOfferSyncFirstAttemptWaitingTime
public int getOfferSyncFirstAttemptWaitingTime() -
setOfferSyncFirstAttemptWaitingTime
public void setOfferSyncFirstAttemptWaitingTime(int offerSyncFirstAttemptWaitingTime) -
getOfferSyncWaitingTime
public int getOfferSyncWaitingTime() -
setOfferSyncWaitingTime
public void setOfferSyncWaitingTime(int offerSyncWaitingTime) -
getOfferSyncAccessRequestCheckWaitingTime
public int getOfferSyncAccessRequestCheckWaitingTime() -
setOfferSyncAccessRequestCheckWaitingTime
public void setOfferSyncAccessRequestCheckWaitingTime(int offerSyncAccessRequestCheckWaitingTime) -
getStorageLogBackupThreadPoolSize
public int getStorageLogBackupThreadPoolSize() -
setStorageLogBackupThreadPoolSize
public void setStorageLogBackupThreadPoolSize(int storageLogBackupThreadPoolSize) -
getStorageLogTraceabilityThreadPoolSize
public int getStorageLogTraceabilityThreadPoolSize() -
setStorageLogTraceabilityThreadPoolSize
public void setStorageLogTraceabilityThreadPoolSize(int storageLogTraceabilityThreadPoolSize) -
getMinWriteTimeoutMs
public int getMinWriteTimeoutMs() -
setMinWriteTimeoutMs
-
getMinBulkWriteTimeoutMsPerObject
public int getMinBulkWriteTimeoutMsPerObject() -
setMinBulkWriteTimeoutMsPerObject
-
isReadOnly
-
setReadOnly
-