Need to get this going for the backup server.
Singleton has a info from DB which get's modified on UPDATE and DELETE
but the info is cached in singleton and the data is fetched only the first time when the object for singleton is created, after that it gets updated based on request directly. (ie no db sync after intialization)
Now i have a backup server which is already running but would have a stale state which should not be the case.
How to achieve this with singleton for each JVM or only single instance.