public interface CacheFactory
Modifier and Type | Method and Description |
---|---|
Cache |
createCache(javax.faces.context.FacesContext facesContext,
String cacheName,
Map<?,?> env)
creates a new implementation specific Cache object using the env parameters.
|
void |
destroy() |
Cache createCache(javax.faces.context.FacesContext facesContext, String cacheName, Map<?,?> env)
env
- implementation specific environment parameters passed to the CacheFactory.cacheLoader
- implementation of the CacheLoader
to usecacheConfigurationloader
- TODOCacheException
- if any error occurs.void destroy()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.