public interface CacheProvider
Cacheimplementation. Via this plug-in construct, the OmniFaces Cache component can make use of different kinds of cache implementations.
|Modifier and Type||Method and Description|
Gets an instance of a Cache using the configured cache provider.
Passes parameters to the cache provider implementation.
Cache getCache(FacesContext context, String scope)
context- faces context used for resolving the given scope.
scope- scope for which the cache should be obtained. Supported scopes are dependent on the specific caching provider, but generally at least "session" and "application" should be supported.
parameters- map of parameters used to configure the cache.
Copyright © 2012–2017 OmniFaces. All rights reserved.