Package org.frankframework.cache
Interface ICache<K,V>
- All Superinterfaces:
org.springframework.context.ApplicationContextAware,org.springframework.beans.factory.Aware,FrankElement,HasApplicationContext,HasName,IConfigurable,IScopeProvider,NameAware
- All Known Implementing Classes:
AbstractCacheAdapter,EhCache
Interface to be implemented by cache-providers.
- Since:
- 4.11
- Author:
- Gerrit van Brakel
- Default element
- org.frankframework.cache.EhCache
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Obtain a potentially cached value, set by put().voidopen()voidstore a value in the cache, that can be retrieved later using get().transformKey(String input, PipeLineSession session) Transform the the current request message to a key in the cache-map.transformValue(Message input, PipeLineSession session) Transform the the current response message to a value in the cache-map.Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.core.IConfigurable
configure
-
Method Details
-
open
void open() -
close
void close() -
transformKey
Transform the the current request message to a key in the cache-map. Allows for instance XPath translations. -
transformValue
Transform the the current response message to a value in the cache-map. Allows for instance XPath translations. -
get
Obtain a potentially cached value, set by put(). -
put
store a value in the cache, that can be retrieved later using get().
-