Class MetaDataConfiguration

All Implemented Interfaces:
DbConfiguration, VitamApplicationConfiguration, VitamApplicationConfigurationInterface

public class MetaDataConfiguration extends DbConfigurationImpl
MetaDataConfiguration contains database access informations
  • Constructor Details

    • MetaDataConfiguration

      public MetaDataConfiguration(List<MongoDbNode> mongoDbNodes, String dbName, String clusterName, List<ElasticsearchNode> elasticsearchNodes, MappingLoader mappingLoader)
      MetaDataConfiguration constructor
      Parameters:
      mongoDbNodes - database server IP addresses and ports
      dbName - database name
      clusterName - cluster name
      elasticsearchNodes - elasticsearch nodes
    • MetaDataConfiguration

      public MetaDataConfiguration(List<MongoDbNode> mongoDbNodes, String dbName, String clusterName, List<ElasticsearchNode> elasticsearchNodes, boolean dbAuthentication, String dbUserName, String dbPassword, MappingLoader mappingLoader)
      MetaDataConfiguration constructor with authentication
      Parameters:
      mongoDbNodes - database server IP addresses and ports
      dbName - database name
      clusterName - cluster name
      elasticsearchNodes - elasticsearch nodes
      dbAuthentication - if authentication mode
      dbUserName - db user name
      dbPassword - db password
    • MetaDataConfiguration

      public MetaDataConfiguration()
      MetaDataConfiguration empty constructor for YAMLFactory
  • Method Details

    • getContextPath

      public String getContextPath()
      Returns:
      the contextPath
    • setContextPath

      public MetaDataConfiguration setContextPath(String contextPath)
      Parameters:
      contextPath - the contextPath to set
      Returns:
      this
    • getCollectModule

      public Boolean getCollectModule()
    • setCollectModule

      public void setCollectModule(Boolean collectModule)
    • getClusterName

      public String getClusterName()
      Returns:
      the clusterName
    • setClusterName

      public MetaDataConfiguration setClusterName(String clusterName)
      Parameters:
      clusterName - the clusterName to set
      Returns:
      this
    • getElasticsearchNodes

      public List<ElasticsearchNode> getElasticsearchNodes()
      Returns:
      the elasticsearchNodes
    • setElasticsearchNodes

      public MetaDataConfiguration setElasticsearchNodes(List<ElasticsearchNode> elasticsearchNodes)
      Parameters:
      elasticsearchNodes - the elasticsearchNodes to set
      Returns:
      MetaDataConfiguration
    • getWorkspaceUrl

      public String getWorkspaceUrl()
    • setWorkspaceUrl

      public MetaDataConfiguration setWorkspaceUrl(String workspaceUrl)
    • getArchiveUnitProfileCacheMaxEntries

      public int getArchiveUnitProfileCacheMaxEntries()
    • setArchiveUnitProfileCacheMaxEntries

      public MetaDataConfiguration setArchiveUnitProfileCacheMaxEntries(int archiveUnitProfileCacheMaxEntries)
    • getArchiveUnitProfileCacheTimeoutInSeconds

      public int getArchiveUnitProfileCacheTimeoutInSeconds()
    • setArchiveUnitProfileCacheTimeoutInSeconds

      public MetaDataConfiguration setArchiveUnitProfileCacheTimeoutInSeconds(int archiveUnitProfileCacheTimeoutInSeconds)
    • getSchemaValidatorCacheMaxEntries

      public int getSchemaValidatorCacheMaxEntries()
    • setSchemaValidatorCacheMaxEntries

      public MetaDataConfiguration setSchemaValidatorCacheMaxEntries(int schemaValidatorCacheMaxEntries)
    • getSchemaValidatorCacheTimeoutInSeconds

      public int getSchemaValidatorCacheTimeoutInSeconds()
    • setSchemaValidatorCacheTimeoutInSeconds

      public MetaDataConfiguration setSchemaValidatorCacheTimeoutInSeconds(int schemaValidatorCacheTimeoutInSeconds)
    • getUrlProcessing

      public String getUrlProcessing()
    • setUrlProcessing

      public void setUrlProcessing(String urlProcessing)
    • getDipTimeToLiveInMinutes

      public int getDipTimeToLiveInMinutes()
    • setDipTimeToLiveInMinutes

      public void setDipTimeToLiveInMinutes(int dipTimeToLiveInMinutes)
    • getTransfersSIPTimeToLiveInMinutes

      public int getTransfersSIPTimeToLiveInMinutes()
    • setTransfersSIPTimeToLiveInMinutes

      public void setTransfersSIPTimeToLiveInMinutes(int transfersSIPTimeToLiveInMinutes)
    • getCriticalDipTimeToLiveInMinutes

      public int getCriticalDipTimeToLiveInMinutes()
    • setCriticalDipTimeToLiveInMinutes

      public void setCriticalDipTimeToLiveInMinutes(int criticalDipTimeToLiveInMinutes)
    • getElasticsearchExternalMetadataMappings

      public List<ElasticsearchExternalMetadataMapping> getElasticsearchExternalMetadataMappings()
    • setElasticsearchExternalMetadataMappings

      public void setElasticsearchExternalMetadataMappings(List<ElasticsearchExternalMetadataMapping> elasticsearchExternalMetadataMappings)
    • getUnitsStreamThreshold

      public long getUnitsStreamThreshold()
    • setUnitsStreamThreshold

      public void setUnitsStreamThreshold(long unitsStreamThreshold)
    • getObjectsStreamThreshold

      public long getObjectsStreamThreshold()
    • setObjectsStreamThreshold

      public void setObjectsStreamThreshold(long objectsStreamThreshold)
    • getUnitsStreamExecutionLimit

      public short getUnitsStreamExecutionLimit()
    • setUnitsStreamExecutionLimit

      public void setUnitsStreamExecutionLimit(short unitsStreamExecutionLimit)
    • getObjectsStreamExecutionLimit

      public short getObjectsStreamExecutionLimit()
    • setObjectsStreamExecutionLimit

      public void setObjectsStreamExecutionLimit(short objectsStreamExecutionLimit)
    • getIndexationConfiguration

      public MetadataIndexationConfiguration getIndexationConfiguration()
    • setIndexationConfiguration

      public MetaDataConfiguration setIndexationConfiguration(MetadataIndexationConfiguration indexationConfiguration)
    • getIsDataConsistencyAuditRunnable

      public boolean getIsDataConsistencyAuditRunnable()
    • setIsDataConsistencyAuditRunnable

      public void setIsDataConsistencyAuditRunnable(boolean dataConsistencyAuditRunnable)
    • isEnableDataConsistencyRectificationMode

      public boolean isEnableDataConsistencyRectificationMode()
    • setEnableDataConsistencyRectificationMode

      public MetaDataConfiguration setEnableDataConsistencyRectificationMode(boolean enableDataConsistencyRectificationMode)
    • getDataConsistencyAuditOplogMaxSize

      public Integer getDataConsistencyAuditOplogMaxSize()
    • setDataConsistencyAuditOplogMaxSize

      public void setDataConsistencyAuditOplogMaxSize(Integer dataConsistencyAuditOplogMaxSize)
    • getMongodShardsConf

      public MongoDbShardConf getMongodShardsConf()
    • setMongodShardsConf

      public void setMongodShardsConf(MongoDbShardConf mongodShardsConf)
    • getTimeToLiveConfiguration

      public TimeToLiveConfiguration getTimeToLiveConfiguration()
    • getReconstructionMetricsCacheDurationInMinutes

      public int getReconstructionMetricsCacheDurationInMinutes()
    • setReconstructionMetricsCacheDurationInMinutes

      public void setReconstructionMetricsCacheDurationInMinutes(int reconstructionMetricsCacheDurationInMinutes)
    • getPersistentIdentifierReconstructionDelayInMinutes

      public long getPersistentIdentifierReconstructionDelayInMinutes()
    • setPersistentIdentifierReconstructionDelayInMinutes

      public void setPersistentIdentifierReconstructionDelayInMinutes(long persistentIdentifierReconstructionDelayInMinutes)
    • getBaseUrl

      public String getBaseUrl()
    • getPersistentIdentifierReconstructionThreadPoolSize

      public int getPersistentIdentifierReconstructionThreadPoolSize()
    • setPersistentIdentifierReconstructionThreadPoolSize

      public void setPersistentIdentifierReconstructionThreadPoolSize(int persistentIdentifierReconstructionThreadPoolSize)
    • getPersistentIdentifierReconstructionBulkSize

      public int getPersistentIdentifierReconstructionBulkSize()
    • setPersistentIdentifierReconstructionBulkSize

      public void setPersistentIdentifierReconstructionBulkSize(int persistentIdentifierReconstructionBulkSize)
    • getRefreshElasticIndexPostBulkIndexing

      public boolean getRefreshElasticIndexPostBulkIndexing()
    • setRefreshElasticIndexPostBulkIndexing

      public void setRefreshElasticIndexPostBulkIndexing(Boolean refreshElasticIndexPostBulkIndexing)
    • getElasticsearchConfigurationFile

      public String getElasticsearchConfigurationFile()
    • setElasticsearchConfigurationFile

      public void setElasticsearchConfigurationFile(String elasticsearchConfigurationFile)