Forum Navigation
You need to log in to create posts and topics.

How to clear the cache?

How can I do this?

It is possible to clear the cache individually for every hunter (ClassHunter, ByteCodeHunter and ClassPathHunter) with clearCache method (e.g.: componentSupplier.getClassHunter().clearCache();)but to avoid inconsistencies it is recommended to perform this cleaning using the clearHuntersCache method of the ComponentSupplier. E.g.: ComponentContainer.getInstance().clearHuntersCache();