Package org.frankframework.http.rest
Class ApiEhcache
java.lang.Object
org.frankframework.http.rest.ApiEhcache
- All Implemented Interfaces:
IApiCache
-
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.voidflush()Workaround to avoid NPE after a full reload (/adapterHandlerAsAdmin.do?voidPlace an object in the cachevoidPlace an object in the cachebooleanRemove an object from the cache
-
Constructor Details
-
ApiEhcache
public ApiEhcache()
-
-
Method Details
-
destroy
public void destroy()Description copied from interface:IApiCacheCloses the cache. -
get
Workaround to avoid NPE after a full reload (/adapterHandlerAsAdmin.do?action=fullreload) get() and isKeyInCache() are not synchronized methods and do not contain any state checking. -
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
-
flush
public void flush() -
clear
public void clear()Description copied from interface:IApiCacheRemoves all items in the cache.
-