Class DefaultPathMappedStorageConfig

  • All Implemented Interfaces:
    org.commonjava.storage.pathmapped.config.PathMappedStorageConfig

    public class DefaultPathMappedStorageConfig
    extends Object
    implements org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
    • Constructor Detail

      • DefaultPathMappedStorageConfig

        public DefaultPathMappedStorageConfig()
      • DefaultPathMappedStorageConfig

        public DefaultPathMappedStorageConfig​(Map<String,​Object> properties)
    • Method Detail

      • getGCIntervalInMinutes

        public int getGCIntervalInMinutes()
        Specified by:
        getGCIntervalInMinutes in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • getGCGracePeriodInHours

        public int getGCGracePeriodInHours()
        Specified by:
        getGCGracePeriodInHours in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • setGcGracePeriodInHours

        public void setGcGracePeriodInHours​(int gcGracePeriodInHours)
      • setGcIntervalInMinutes

        public void setGcIntervalInMinutes​(int gcIntervalInMinutes)
      • getFileChecksumAlgorithm

        public String getFileChecksumAlgorithm()
        Specified by:
        getFileChecksumAlgorithm in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • setFileChecksumAlgorithm

        public void setFileChecksumAlgorithm​(String fileChecksumAlgorithm)
      • getProperty

        public Object getProperty​(String key)
        Specified by:
        getProperty in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • getGCBatchSize

        public int getGCBatchSize()
        Specified by:
        getGCBatchSize in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • setGcBatchSize

        public void setGcBatchSize​(int gcBatchSize)
      • getDeduplicatePattern

        public String getDeduplicatePattern()
        Specified by:
        getDeduplicatePattern in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • setDeduplicatePattern

        public void setDeduplicatePattern​(String deduplicatePattern)
      • getCommonFileExtensions

        public String getCommonFileExtensions()
        Specified by:
        getCommonFileExtensions in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • setCommonFileExtensions

        public void setCommonFileExtensions​(String commonFileExtensions)
      • isPhysicalFileExistenceCheckEnabled

        public boolean isPhysicalFileExistenceCheckEnabled()
        Specified by:
        isPhysicalFileExistenceCheckEnabled in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
      • setPhysicalFileExistenceCheckEnabled

        public void setPhysicalFileExistenceCheckEnabled​(boolean physicalFileExistenceCheckEnabled)