Package org.nuxeo.ecm.core.blob
Class CachingConfiguration
java.lang.Object
org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
org.nuxeo.ecm.core.blob.CachingConfiguration
Configuration for a cache.
- Since:
- 11.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
final Path
final long
final long
final long
Fields inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
properties, systemPropertyPrefix
-
Constructor Summary
ConstructorDescriptionCachingConfiguration
(String systemPropertyPrefix, Map<String, String> properties) CachingConfiguration
(Path dir, long maxSize, long maxCount, long minAge) -
Method Summary
Methods inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
getBooleanProperty, getIntProperty, getIntProperty, getLongProperty, getProperty, getProperty
-
Field Details
-
CACHE_SIZE_PROPERTY
- See Also:
-
CACHE_COUNT_PROPERTY
- See Also:
-
CACHE_MIN_AGE_PROPERTY
- See Also:
-
DEFAULT_CACHE_SIZE
- See Also:
-
DEFAULT_CACHE_COUNT
- See Also:
-
DEFAULT_CACHE_MIN_AGE
- See Also:
-
dir
-
maxSize
public final long maxSize -
maxCount
public final long maxCount -
minAge
public final long minAge
-
-
Constructor Details
-
CachingConfiguration
public CachingConfiguration(String systemPropertyPrefix, Map<String, String> properties) throws IOException- Throws:
IOException
-
CachingConfiguration
-