Package com.jk.core.cache
Class JKCacheFactory
java.lang.Object
com.jk.core.cache.JKCacheFactory
This class is a factory used for creating 
JKCacheManager
 objects.- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis method clears up the cached data of the available regions in the factory.static JKCacheManagerThis method provides a suitableJKCacheManagerinstance.static JKCacheManagergetCacheManager(String region) This method grabs a suitableJKCacheManagerfrom the given region.This method returns a set view of all the available regions in this factory. 
- 
Field Details
- 
logger
Represents this class logger. 
 - 
 - 
Constructor Details
- 
JKCacheFactory
public JKCacheFactory() 
 - 
 - 
Method Details
- 
getCacheManager
This method provides a suitableJKCacheManagerinstance.- Returns:
 - an instance of the cache manager
 
 - 
getCacheManager
This method grabs a suitableJKCacheManagerfrom the given region.- Parameters:
 region- Specifies the JKCacheManager region.- Returns:
 - instance of JKCacheManager.
 
 - 
getRegions
This method returns a set view of all the available regions in this factory.- Returns:
 - a set view of all the available regions in this factory.
 
 - 
clearAllRegions
public static void clearAllRegions()This method clears up the cached data of the available regions in the factory. 
 -