Class GlobalConfigDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.convert.extension.GlobalConfigDescriptor
-
public class GlobalConfigDescriptor extends Object
XMap Descriptor for theConversionService
configuration.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
cachingDirectory
static boolean
DEFAULT_CACHE_ENABLED
static String
DEFAULT_CACHING_DIRECTORY
static int
DEFAULT_DISK_CACHE_IN_KB
static long
DEFAULT_GC_INTERVAL_IN_MIN
protected Integer
diskCacheSize
protected Boolean
enableCache
protected Long
GCInterval
-
Constructor Summary
Constructors Constructor Description GlobalConfigDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearCachingDirectory()
String
getCachingDirectory()
protected String
getDefaultCachingDirectory()
int
getDiskCacheSize()
long
getGCInterval()
boolean
isCacheEnabled()
void
setDiskCacheSize(int size)
void
setGCInterval(long value)
void
update(GlobalConfigDescriptor other)
-
-
-
Field Detail
-
DEFAULT_CACHE_ENABLED
public static final boolean DEFAULT_CACHE_ENABLED
- See Also:
- Constant Field Values
-
DEFAULT_GC_INTERVAL_IN_MIN
public static final long DEFAULT_GC_INTERVAL_IN_MIN
- See Also:
- Constant Field Values
-
DEFAULT_DISK_CACHE_IN_KB
public static final int DEFAULT_DISK_CACHE_IN_KB
- See Also:
- Constant Field Values
-
DEFAULT_CACHING_DIRECTORY
public static final String DEFAULT_CACHING_DIRECTORY
- See Also:
- Constant Field Values
-
enableCache
protected Boolean enableCache
-
cachingDirectory
protected String cachingDirectory
-
GCInterval
protected Long GCInterval
-
diskCacheSize
protected Integer diskCacheSize
-
-
Method Detail
-
isCacheEnabled
public boolean isCacheEnabled()
-
getCachingDirectory
public String getCachingDirectory()
-
getDefaultCachingDirectory
protected String getDefaultCachingDirectory()
-
clearCachingDirectory
public void clearCachingDirectory()
- Since:
- 9.1
-
setGCInterval
public void setGCInterval(long value)
-
getGCInterval
public long getGCInterval()
-
setDiskCacheSize
public void setDiskCacheSize(int size)
-
getDiskCacheSize
public int getDiskCacheSize()
-
update
public void update(GlobalConfigDescriptor other)
-
-