Interface CacheRegionProvider

All Known Implementing Classes:
DefaultCacheRegionProvider

public interface CacheRegionProvider
Class keeps region lists and provides region list access methods.
  • Method Details

    • getAllRegions

      List<CacheRegion> getAllRegions()
      Returns immutable collections of ALL regions (manual and regular)
    • getRegions

      List<CacheRegion> getRegions()
      Returns all non-manual regions.
    • getRegionsForType

      List<CacheRegion> getRegionsForType(Object typeCode)
      returns collection of regions handling type given.
    • getRegionForAllTypes

      CacheRegion getRegionForAllTypes()
      Get single region able to handle all types.
      It is necessary to resolve specific type first. If it cannot be done all-type-region shall be used.
      Multiple all-type regions is configuration error.
    • getRegionByName

      List<CacheRegion> getRegionByName(String name)
      returns singleton collection for region of name given.
      It is convenience method not to create collection by a region resolver.
    • getQueryRegions

      List<CacheRegion> getQueryRegions()
      returns regions handling __QUERY_CACHE__
    • getManualRegion

      CacheRegion getManualRegion(String name)
      Returns manual region of name given or NULL.
    • getManualRegions

      Collection<CacheRegion> getManualRegions()
      Returns all manual regions.