Package org.frankframework.cache
Interface ICache<K,V>
- All Known Implementing Classes:
AbstractCacheAdapter
,EhCache
public interface ICache<K,V>
Interface to be implemented by cache-providers.
- Since:
- 4.11
- Author:
- Gerrit van Brakel
- Default element
- org.frankframework.cache.EhCache
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
Obtain a potentially cached value, set by put().void
open()
void
store 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.
-
Method Details
-
configure
- Throws:
ConfigurationException
-
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().
-