thegridman / coherence-k8s-example

0 stars 1 forks source link

Addition of Reload cache api #8

Open viju2008 opened 3 years ago

viju2008 commented 3 years ago

Hello,

Please add a Reload API which reloads all values in Student Class.

We could use Coherence APIs (if available) for reloading the cache or a REST API inside the grid cache in Spring which could find all the classes where there is a mapping with the database and reload them for us.

May be by first call the eraseAll() methods for all classes and then using the preload methods

I am not sure which is the best method . Please provide the same.

We will build a button in the Administration frontend of our Application which will invoke the Reload Operation once and Grid cache takes the call and does the rest for all caches mapped to database tables.