@groovy.transform.CompileStatic class EntityCache extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
static class |
EntityCache.EmptyRecord |
|
static class |
EntityCache.EntityCacheInvalidate |
|
static class |
EntityCache.ViewRaKey |
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
cachedListViewEntitiesByMember |
|
protected boolean |
distributedCacheInvalidate |
|
protected EntityFacadeImpl |
efi |
|
protected static org.slf4j.Logger |
logger |
Type | Name and description |
---|---|
CacheFacadeImpl |
cfi |
static java.lang.String |
countKeyBase |
static java.lang.String |
listKeyBase |
static java.lang.String |
listRaKeyBase |
static java.lang.String |
listViewRaKeyBase |
Cache<java.lang.String, java.util.Set<EntityCondition>> |
oneBfCache |
static java.lang.String |
oneKeyBase |
static java.lang.String |
oneRaKeyBase |
static java.lang.String |
oneViewRaKeyBase |
Constructor and description |
---|
EntityCache
(EntityFacadeImpl efi) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
clearCacheForValue(EntityValueBase evb, boolean isCreate) Called from EntityValueBase |
|
void |
clearCacheForValueActual(EntityValueBase evb, boolean isCreate) Does actual cache clear, called directly or distributed through topic |
|
EntityListImpl |
getFromListCache(EntityDefinition ed, EntityCondition whereCondition, java.util.List<java.lang.String> orderByList, Cache<EntityCondition, EntityListImpl> entityListCache) |
|
void |
putInListCache(EntityDefinition ed, EntityListImpl el, EntityCondition whereCondition, Cache<EntityCondition, EntityListImpl> entityListCache) |
|
void |
putInOneCache(EntityDefinition ed, EntityCondition whereCondition, EntityValueBase newEntityValue, Cache<EntityCondition, EntityValueBase> entityOneCache) |
|
void |
registerCacheListRa(java.lang.String entityName, EntityCondition ec, EntityList eli) |
|
void |
registerCacheOneRa(java.lang.String entityName, EntityCondition ec, EntityValueBase evb) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Called from EntityValueBase
Does actual cache clear, called directly or distributed through topic
Groovy Documentation