java.lang.Object
io.ebeaninternal.api.CacheIdLookupMany<T>
- All Implemented Interfaces:
CacheIdLookup<T>
Used for bean cache lookup with where ids in expression.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallHits()Return true if all beans where found in L2 cache.Collection<?> idValues()Return the Id values for the in expression.removeHits(BeanCacheResult<T> cacheResult) Process the hits returning the beans fetched from cache and adjusting the in expression (to not fetch the hits).
-
Constructor Details
-
CacheIdLookupMany
-
-
Method Details
-
idValues
Return the Id values for the in expression.- Specified by:
idValuesin interfaceCacheIdLookup<T>
-
removeHits
Process the hits returning the beans fetched from cache and adjusting the in expression (to not fetch the hits).- 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>
-