cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

collector cache

henk_stobbe
DynaMight Pro
DynaMight Pro

Hello,

Can sombody tell me in simple terms why the collector caches classes?

Or it is as simple as a kind of byte-code lookup?

KR Henk


3 REPLIES 3

sebastian_kryst
DynaMight Leader
DynaMight Leader

Collector makes classs cache from couple of reasons:

1) After application start class browsing is done. After this Collector is instrumenting classes and returning them to application. Caching simplifies this process (if code didn't changed).

2) When you are looking for method during sensor creation, Appmon is collecting those data from collector. This way there is no impact for application itself.

Sebastian


henk_stobbe
DynaMight Pro
DynaMight Pro

Hi Sebastian,

Thx for your reply, so one small remark. Removing the files and restarting the App/JVM would result in in a rebuild of the cache? Why is everybody so afraid about these files?

KR Henk


You may need restart collector and application to rebuild it.