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?
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 1200009V3S262 Posts
Re: How can I refresh periodically a BackingMap?2013-03-01T12:32:26ZThis is the accepted answer. This is the accepted answer.Would 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.
Re: How can I refresh periodically a BackingMap?2013-03-01T12:43:10ZThis is the accepted answer. This is the accepted answer.
- jhanders 1200009V3S
Re: How can I refresh periodically a BackingMap?2013-03-04T07:47:23ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK