public interface IDBCache extends ICache
Modifier and Type | Field and Description |
---|---|
static int |
INVAL_KEYA |
static int |
INVAL_KEYB |
static int |
INVAL_KEYNAME |
static int |
INVAL_PRIMARY |
static int |
INVAL_SECONDARY |
ID, ISCLUSTERED, MAX_SIZE
Modifier and Type | Method and Description |
---|---|
ICacheKey |
createKey(IThingID thingIDA,
IThingID thingIDB,
String name,
int secondKey)
creates key from things
|
int |
invalidateByKey(ICacheKey key,
int invalFlags)
invalidates by comparing the values in key that are marked in the flags.
|
void |
purgeCache()
this should be called occasionally via a scheduled event to purge the
cache of old and invalid entries.
|
createKey, createKey, createKey, flush, flushAll, flushAll, getCacheManager, getEntry, getMaxSize, getModified, getName, getReport, getSize, getValue, isClustered, put, refresh, update
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
static final int INVAL_KEYA
static final int INVAL_KEYB
static final int INVAL_KEYNAME
static final int INVAL_PRIMARY
static final int INVAL_SECONDARY
int invalidateByKey(ICacheKey key, int invalFlags) throws CacheException
CacheException
void purgeCache()