Class GlobalConfigDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.convert.extension.GlobalConfigDescriptor
-
public class GlobalConfigDescriptor extends Object
XMap Descriptor for theConversionServiceconfiguration.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcachingDirectorystatic booleanDEFAULT_CACHE_ENABLEDstatic StringDEFAULT_CACHING_DIRECTORYstatic intDEFAULT_DISK_CACHE_IN_KBstatic longDEFAULT_GC_INTERVAL_IN_MINprotected IntegerdiskCacheSizeprotected BooleanenableCacheprotected LongGCInterval
-
Constructor Summary
Constructors Constructor Description GlobalConfigDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCachingDirectory()StringgetCachingDirectory()protected StringgetDefaultCachingDirectory()intgetDiskCacheSize()longgetGCInterval()booleanisCacheEnabled()voidsetDiskCacheSize(int size)voidsetGCInterval(long value)voidupdate(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)
-
-