public class DefaultPathMappedStorageConfig extends Object implements org.commonjava.storage.pathmapped.config.PathMappedStorageConfig
| Constructor and Description |
|---|
DefaultPathMappedStorageConfig() |
DefaultPathMappedStorageConfig(Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeduplicatePattern() |
String |
getFileChecksumAlgorithm() |
int |
getGCBatchSize() |
int |
getGCGracePeriodInHours() |
int |
getGCIntervalInMinutes() |
Object |
getProperty(String key) |
void |
setDeduplicatePattern(String deduplicatePattern) |
void |
setFileChecksumAlgorithm(String fileChecksumAlgorithm) |
void |
setGcBatchSize(int gcBatchSize) |
void |
setGcGracePeriodInHours(int gcGracePeriodInHours) |
void |
setGcIntervalInMinutes(int gcIntervalInMinutes) |
public int getGCIntervalInMinutes()
getGCIntervalInMinutes in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfigpublic int getGCGracePeriodInHours()
getGCGracePeriodInHours in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfigpublic void setGcGracePeriodInHours(int gcGracePeriodInHours)
public void setGcIntervalInMinutes(int gcIntervalInMinutes)
public String getFileChecksumAlgorithm()
getFileChecksumAlgorithm in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfigpublic void setFileChecksumAlgorithm(String fileChecksumAlgorithm)
public Object getProperty(String key)
getProperty in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfigpublic int getGCBatchSize()
getGCBatchSize in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfigpublic void setGcBatchSize(int gcBatchSize)
public String getDeduplicatePattern()
getDeduplicatePattern in interface org.commonjava.storage.pathmapped.config.PathMappedStorageConfigpublic void setDeduplicatePattern(String deduplicatePattern)
Copyright © 2019-2020. All Rights Reserved.