java.lang.Object
io.ebeaninternal.api.CacheIdLookupSingle<T>
- All Implemented Interfaces:
CacheIdLookup<T>
Used for bean cache lookup with a single id value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallHits()Return true if all beans where found in L2 cache.Collection<?> idValues()Return the Id values to lookup against the L2 cache.removeHits(BeanCacheResult<T> cacheResult) Remove the hits returning the beans fetched from L2 cache.
-
Constructor Details
-
CacheIdLookupSingle
-
-
Method Details
-
idValues
Description copied from interface:CacheIdLookupReturn the Id values to lookup against the L2 cache.- Specified by:
idValuesin interfaceCacheIdLookup<T>
-
removeHits
Description copied from interface:CacheIdLookupRemove the hits returning the beans fetched from L2 cache.- Specified by:
removeHitsin interfaceCacheIdLookup<T>
-
allHits
public boolean allHits()Description copied from interface:CacheIdLookupReturn true if all beans where found in L2 cache.- Specified by:
allHitsin interfaceCacheIdLookup<T>
-