I'm doing a data preload into a BackingMap with the "Loader preloadMap method" and the "CREATION_TIME" Evictor Type evicts the BackingMap 2 hours later (it's configurated in this way). The BackingMap is loaded by means of a REST service that returns the data.
I'd like to deactivate "CREATION_TIME" Evictor Type and to be able to refresh the BackingMap each 2 hours by calling the REST service.
How can I refresh a BackingMap in this way?
This topic has been locked.
3 replies Latest Post - 2013-03-04T07:47:23Z by SystemAdmin
Pinned topic How can I refresh periodically a BackingMap?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-04T07:47:23Z at 2013-03-04T07:47:23Z by SystemAdmin
jhanders 1200009V3S253 PostsACCEPTED ANSWER
Re: How can I refresh periodically a BackingMap?2013-03-01T12:32:26Z in response to SystemAdminWould having a job kicking off every two hours that does a map.clear() and then calls your REST service allow for this?
Hope this fits into what you were thinking. If it doesn't please let us know what additional scenario do you need that it doesn't satisfy or more details explaining additional requirements.