Class CollectInternalConfiguration
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
-
- fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
-
- fr.gouv.vitam.collect.internal.core.configuration.CollectInternalConfiguration
-
- All Implemented Interfaces:
DbConfiguration
,VitamApplicationConfiguration
,VitamApplicationConfigurationInterface
public class CollectInternalConfiguration extends DbConfigurationImpl
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.server.application.configuration.DefaultVitamApplicationConfiguration
IS_A_MANDATORY_PARAMETER, jettyConfig
-
-
Constructor Summary
Constructors Constructor Description CollectInternalConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Integer,java.lang.Integer>
getPurgeTransactionDelayInMinutes()
int
getPurgeTransactionThreadFrequency()
int
getPurgeTransactionThreadPoolSize()
int
getStatusTransactionThreadFrequency()
java.lang.Integer
getTransactionStatusThreadPoolSize()
java.lang.String
getWorkspaceUrl()
Must return the value of a 'workspaceUrl' attributevoid
setPurgeTransactionDelayInMinutes(java.util.Map<java.lang.Integer,java.lang.Integer> purgeTransactionDelayInMinutes)
void
setPurgeTransactionThreadFrequency(int purgeTransactionThreadFrequency)
void
setPurgeTransactionThreadPoolSize(int purgeTransactionThreadPoolSize)
void
setStatusTransactionThreadFrequency(int statusTransactionThreadFrequency)
void
setTransactionStatusThreadPoolSize(java.lang.Integer transactionStatusThreadPoolSize)
CollectInternalConfiguration
setWorkspaceUrl(java.lang.String workspaceUrl)
-
Methods inherited from class fr.gouv.vitam.common.server.application.configuration.DbConfigurationImpl
getDbName, getDbPassword, getDbUserName, getMongoDbNodes, isDbAuthentication, setDbAuthentication, setDbName, setDbPassword, setDbUserName, setMongoDbNodes
-
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.VitamApplicationConfiguration
isEnableSession, isEnableXsrFilter, setEnableSession, setEnableXsrFilter
-
Methods inherited from interface fr.gouv.vitam.common.server.application.configuration.VitamApplicationConfigurationInterface
getBaseUri, getBaseUrl, getJettyConfig, isAuthentication, isTenantFilter, setAuthentication, setBaseUri, setBaseUrl, setJettyConfig, setTenantFilter
-
-
-
-
Method Detail
-
getWorkspaceUrl
public java.lang.String getWorkspaceUrl()
Must return the value of a 'workspaceUrl' attribute- Returns:
- the workspaceUrl value
-
getPurgeTransactionDelayInMinutes
public java.util.Map<java.lang.Integer,java.lang.Integer> getPurgeTransactionDelayInMinutes()
-
setPurgeTransactionDelayInMinutes
public void setPurgeTransactionDelayInMinutes(java.util.Map<java.lang.Integer,java.lang.Integer> purgeTransactionDelayInMinutes)
-
getPurgeTransactionThreadPoolSize
public int getPurgeTransactionThreadPoolSize()
-
setPurgeTransactionThreadPoolSize
public void setPurgeTransactionThreadPoolSize(int purgeTransactionThreadPoolSize)
-
getPurgeTransactionThreadFrequency
public int getPurgeTransactionThreadFrequency()
-
setPurgeTransactionThreadFrequency
public void setPurgeTransactionThreadFrequency(int purgeTransactionThreadFrequency)
-
setWorkspaceUrl
public CollectInternalConfiguration setWorkspaceUrl(java.lang.String workspaceUrl)
- Parameters:
workspaceUrl
- the workspace Url to set- Returns:
- this
- Throws:
java.lang.IllegalArgumentException
- if workspaceUrl is null or empty
-
getTransactionStatusThreadPoolSize
public java.lang.Integer getTransactionStatusThreadPoolSize()
-
setTransactionStatusThreadPoolSize
public void setTransactionStatusThreadPoolSize(java.lang.Integer transactionStatusThreadPoolSize)
-
getStatusTransactionThreadFrequency
public int getStatusTransactionThreadFrequency()
-
setStatusTransactionThreadFrequency
public void setStatusTransactionThreadFrequency(int statusTransactionThreadFrequency)
-
-