Is there anything that would allow me to create a static object in my class or extend my class and give me the opportunity to start, stop the time, set up statistics collection using the properties file, and a bunch of other useful properties that I donβt even know about.
I am working on an application that has a crazy amount of threads running at any given time, and it makes it increasingly difficult to make sense from the log files. That is why I am looking for some solution that will help me with this.
Ideally, I would like to have a bean in my spring application context, which would pretty much automate all annotation-based tread run tracking, which would allow me to tune the stream names and stopwatch accuracy. It is also more convenient to connect it to the database, and not just to the log file.
source share