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
-
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
-
put
-
remove
-
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
-