powered by Jive Software

How to Programmatically Clear a Cache?

Is there any way to programmatically clear certain OpenFire caches? I am primarily interested in the Roster Cache and Group Cache. I hope I won’t have to resort to writing a bot that will go to the admin page and submit the form. The reason I am even asking about such a feature is that I have noticed cached data being returned after a series of User and/or Group updates via LDAP. Certain LDAP changes appear to be immediate while others don’t take effect until you manually clear the Roster and/or Group caches. So, either a solution to that problem or an API to clear the cache is much appreciated.