public interface ConfigurationCacheProvider<T> extends org.ocpsoft.common.pattern.Weighted, org.ocpsoft.common.pattern.Specialized<Object>
Configuration
caching strategies for the Rewrite runtime environment.
Additional cache providers may be specified by providing a service activator file containing the name of your
implementations:
/META-INF/services/org.ocpsoft.rewrite.config.ConfigurationCacheProvider
--------------
com.example.ConfigurationCacheProviderImpl
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration(T context)
Return the cached
Configuration , or null of the cache is empty or unprimed. |
void |
setConfiguration(T context,
Configuration configuration)
Store the given
Configuration into the cache for later retrieval. |
Configuration getConfiguration(T context)
Configuration
, or null of the cache is empty or unprimed.void setConfiguration(T context, Configuration configuration)
Configuration
into the cache for later retrieval.Copyright © 2014 OCPsoft. All Rights Reserved.