public class GlobalConfigDescriptor extends Object implements Serializable
ConversionService
configuration.Modifier and Type | Field and 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 and Description |
---|
GlobalConfigDescriptor() |
Modifier and Type | Method and 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) |
public static final boolean DEFAULT_CACHE_ENABLED
public static final long DEFAULT_GC_INTERVAL_IN_MIN
public static final int DEFAULT_DISK_CACHE_IN_KB
public static final String DEFAULT_CACHING_DIRECTORY
protected Boolean enableCache
protected String cachingDirectory
protected Long GCInterval
protected Integer diskCacheSize
public GlobalConfigDescriptor()
public boolean isCacheEnabled()
public String getCachingDirectory()
protected String getDefaultCachingDirectory()
public void clearCachingDirectory()
public void setGCInterval(long value)
public long getGCInterval()
public void setDiskCacheSize(int size)
public int getDiskCacheSize()
public void update(GlobalConfigDescriptor other)
Copyright © 2018 Nuxeo. All rights reserved.