HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Caching policy › Re: Re: Caching policy
October 23, 2010 at 12:52
#27970
Since v361b2 there 2 new API calls: getCache() and setCache(). The methods allow to save and reuse PD4ML cache instance for a case if its static hash tables are aggressively garbage collected by JVM.
Please avoid to use a single cache wrapper instance from a multiple threads simultaneously.