can u give more information, what are you trying to do exactly and are you using hibernate... or you running ur cache in replicated mode or isolated mode.
thanks for the concern praveen,
by refreshing the cache what i meant was this:"
i am getting data for the cache from the database, and suppose that the database is added with new contents every second.
But updating the cache every time get() is called is inefficient, so i thought of refreshing the cache in every 1 hour or any other user defined time.
I think this will eloborate the question, please let me know for further clarification.