Package org.frankframework.http.rest
Class ApiMemcached
java.lang.Object
org.frankframework.http.rest.ApiMemcached
- All Implemented Interfaces:
IApiCache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Removes all items in the cache.booleancontainsKey(String key) Checks whether or not an object has previously been stored in the cachevoiddestroy()Closes the cache.Retrieve an object from the cachevoidPlace an object in the cachevoidPlace an object in the cachebooleanRemove 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:IApiCacheRetrieve an object from the cache -
put
Description copied from interface:IApiCachePlace an object in the cache -
put
Description copied from interface:IApiCachePlace an object in the cache -
remove
Description copied from interface:IApiCacheRemove an object from the cache -
containsKey
Description copied from interface:IApiCacheChecks whether or not an object has previously been stored in the cache- Specified by:
containsKeyin interfaceIApiCache- Parameters:
key- name of the object to find- Returns:
- true when found
-
clear
public void clear()Description copied from interface:IApiCacheRemoves all items in the cache. -
destroy
public void destroy()Description copied from interface:IApiCacheCloses the cache.
-