Interface CacheRegionProvider
-
- All Known Implementing Classes:
DefaultCacheRegionProvider
public interface CacheRegionProviderClass keeps region lists and provides region list access methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<CacheRegion>getAllRegions()Returns immutable collections of ALL regions (manual and regular)CacheRegiongetManualRegion(java.lang.String name)Returns manual region of name given or NULL.java.util.Collection<CacheRegion>getManualRegions()Returns all manual regions.java.util.List<CacheRegion>getQueryRegions()returns regions handling __QUERY_CACHE__java.util.List<CacheRegion>getRegionByName(java.lang.String name)returns singleton collection for region of name given.CacheRegiongetRegionForAllTypes()Get single region able to handle all types.
It is necessary to resolve specific type first.java.util.List<CacheRegion>getRegions()Returns all non-manual regions.java.util.List<CacheRegion>getRegionsForType(java.lang.Object typeCode)returns collection of regions handling type given.
-
-
-
Method Detail
-
getAllRegions
java.util.List<CacheRegion> getAllRegions()
Returns immutable collections of ALL regions (manual and regular)
-
getRegions
java.util.List<CacheRegion> getRegions()
Returns all non-manual regions.
-
getRegionsForType
java.util.List<CacheRegion> getRegionsForType(java.lang.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
java.util.List<CacheRegion> getRegionByName(java.lang.String name)
returns singleton collection for region of name given.
It is convenience method not to create collection by a region resolver.
-
getQueryRegions
java.util.List<CacheRegion> getQueryRegions()
returns regions handling __QUERY_CACHE__
-
getManualRegion
CacheRegion getManualRegion(java.lang.String name)
Returns manual region of name given or NULL.
-
getManualRegions
java.util.Collection<CacheRegion> getManualRegions()
Returns all manual regions.
-
-