public class CacheDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_SIZE
Default max size
|
static long |
DEFAULT_TTL
Default TTL in minutes.
|
protected Class<? extends CacheManagement> |
klass |
String |
name |
static String |
OPTION_CONCURRENCY_LEVEL |
static String |
OPTION_MAX_SIZE
Maximum number of entries the cache may contain.
|
Map<String,String> |
options |
boolean |
remove |
Long |
ttl |
Constructor and Description |
---|
CacheDescriptor() |
CacheDescriptor(CacheDescriptor other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
CacheDescriptor |
clone() |
long |
getTTL() |
void |
merge(CacheDescriptor other) |
protected CacheManagement |
newInstance(CacheServiceImpl.CachePubSubInvalidator invalidator) |
String |
toString() |
public static final long DEFAULT_TTL
public static final long DEFAULT_MAX_SIZE
public static final String OPTION_MAX_SIZE
public static final String OPTION_CONCURRENCY_LEVEL
public boolean remove
protected Class<? extends CacheManagement> klass
public CacheDescriptor()
public CacheDescriptor(CacheDescriptor other)
public CacheDescriptor clone()
public void merge(CacheDescriptor other)
public long getTTL()
protected CacheManagement newInstance(CacheServiceImpl.CachePubSubInvalidator invalidator)
Copyright © 2018 Nuxeo. All rights reserved.