Class MetaDataConfiguration

    • Constructor Detail

      • MetaDataConfiguration

        public MetaDataConfiguration​(java.util.List<MongoDbNode> mongoDbNodes,
                                     java.lang.String dbName,
                                     java.lang.String clusterName,
                                     java.util.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​(java.util.List<MongoDbNode> mongoDbNodes,
                                     java.lang.String dbName,
                                     java.lang.String clusterName,
                                     java.util.List<ElasticsearchNode> elasticsearchNodes,
                                     boolean dbAuthentication,
                                     java.lang.String dbUserName,
                                     java.lang.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 Detail

      • getContextPath

        public java.lang.String getContextPath()
        Returns:
        the contextPath
      • setContextPath

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

        public java.lang.Boolean getCollectModule()
      • setCollectModule

        public void setCollectModule​(java.lang.Boolean collectModule)
      • getClusterName

        public java.lang.String getClusterName()
        Returns:
        the clusterName
      • setClusterName

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

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

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

        public java.lang.String getWorkspaceUrl()
      • 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 java.lang.String getUrlProcessing()
      • setUrlProcessing

        public void setUrlProcessing​(java.lang.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)
      • setElasticsearchExternalMetadataMappings

        public void setElasticsearchExternalMetadataMappings​(java.util.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)
      • getIsDataConsistencyAuditRunnable

        public java.lang.Boolean getIsDataConsistencyAuditRunnable()
      • setIsDataConsistencyAuditRunnable

        public void setIsDataConsistencyAuditRunnable​(java.lang.Boolean dataConsistencyAuditRunnable)
      • getDataConsistencyAuditOplogMaxSize

        public java.lang.Integer getDataConsistencyAuditOplogMaxSize()
      • setDataConsistencyAuditOplogMaxSize

        public void setDataConsistencyAuditOplogMaxSize​(java.lang.Integer dataConsistencyAuditOplogMaxSize)
      • setMongodShardsConf

        public void setMongodShardsConf​(MongoDbShardConf mongodShardsConf)
      • getReconstructionMetricsCacheDurationInMinutes

        public int getReconstructionMetricsCacheDurationInMinutes()
      • setReconstructionMetricsCacheDurationInMinutes

        public void setReconstructionMetricsCacheDurationInMinutes​(int reconstructionMetricsCacheDurationInMinutes)
      • getBaseUrl

        public java.lang.String getBaseUrl()