Interface CacheIdLookup<T>

All Known Implementing Classes:
CacheIdLookupMany, CacheIdLookupSingle

public interface CacheIdLookup<T>
Process Cache lookup by Id(s).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if all beans where found in L2 cache.
    Return the Id values to lookup against the L2 cache.
    Remove the hits returning the beans fetched from L2 cache.
  • Method Details

    • idValues

      Collection<?> idValues()
      Return the Id values to lookup against the L2 cache.
    • removeHits

      List<T> removeHits(BeanCacheResult<T> cacheResult)
      Remove the hits returning the beans fetched from L2 cache.
    • allHits

      boolean allHits()
      Return true if all beans where found in L2 cache.