public class DefaultEntityCache extends Object implements EntityCache
| Constructor and Description |
|---|
DefaultEntityCache() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
exists(Key<?> k) |
void |
flush() |
<T> T |
getEntity(Key<T> k) |
<T> T |
getProxy(Key<T> k) |
void |
notifyExists(Key<?> k,
boolean exists) |
<T> void |
putEntity(Key<T> k,
T t) |
<T> void |
putProxy(Key<T> k,
T t) |
EntityCacheStatistics |
stats() |
public Boolean exists(Key<?> k)
exists in interface EntityCachepublic void notifyExists(Key<?> k, boolean exists)
notifyExists in interface EntityCachepublic <T> T getEntity(Key<T> k)
getEntity in interface EntityCachepublic <T> T getProxy(Key<T> k)
getProxy in interface EntityCachepublic <T> void putProxy(Key<T> k, T t)
putProxy in interface EntityCachepublic <T> void putEntity(Key<T> k, T t)
putEntity in interface EntityCachepublic void flush()
flush in interface EntityCachepublic EntityCacheStatistics stats()
stats in interface EntityCacheCopyright © 2021. All rights reserved.