Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stopwatch Java API

Is there something out there that would allow me to create static object in my class or extend my class and give me functions to start, stop time configure statistics collection with properties file and bunch of other goodies I don't even know about.

I'm working on app that has crazy amount of threads running at any given moment and making sense out of the log files is becoming increasingly difficult. That's why I'm looking for some kind of a solution to help me with that.

Ideally I would like to have bean in my spring application context that would pretty much automate all the tracking of running treads based on annotation which would allow to configure the names of threads and accuracy of the stopwatch. Also ability to hooking it up with database instead of just log file would be great as well.

like image 957
MatBanik Avatar asked Dec 13 '22 12:12

MatBanik


1 Answers

Maybe you want the apache commons StopWatch class?

like image 109
Rocky Pulley Avatar answered Dec 27 '22 22:12

Rocky Pulley