Package org.frankframework.http.rest
Class ApiMemcached
java.lang.Object
org.frankframework.http.rest.ApiMemcached
- All Implemented Interfaces:
IApiCache
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Removes all items in the cache.boolean
containsKey
(String key) Checks whether or not an object has previously been stored in the cachevoid
destroy()
Closes the cache.Retrieve an object from the cachevoid
Place an object in the cachevoid
Place an object in the cacheboolean
Remove an object from the cache
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
ApiMemcached
public ApiMemcached()
-
-
Method Details
-
get
Description copied from interface:IApiCache
Retrieve an object from the cache -
put
Description copied from interface:IApiCache
Place an object in the cache -
put
Description copied from interface:IApiCache
Place an object in the cache -
remove
Description copied from interface:IApiCache
Remove an object from the cache -
containsKey
Description copied from interface:IApiCache
Checks whether or not an object has previously been stored in the cache- Specified by:
containsKey
in interfaceIApiCache
- Parameters:
key
- name of the object to find- Returns:
- true when found
-
clear
public void clear()Description copied from interface:IApiCache
Removes all items in the cache. -
destroy
public void destroy()Description copied from interface:IApiCache
Closes the cache.
-