This library can be used to detect dead lock situation in java application.
We recommanded to contribute or intimate if any improvement or issue found. This will become matured as time goes, and to eliminate the requirement forsetting any monitoring tool immediatly when dedlock is detected in live system.
Use maven to build library in local machine.
mvn clean install
DeadLockDetection.getInstance().start();
DeadLockDetection.getInstance().registerListener(new DeadLockDetectionListener() {
@Override
public void onDeadlockDetected(ThreadInfo[] threadInfos, ThreadInfo[] threadInfoLockings) {
}
});
DeadLockDetection.getInstance().stop();
Pull requests are welcome. For major changes, please open an issue first to mention what you would like to change.
- Add test cases
- Configurable checking interval and start up delay
- Java documentation
- Upload to maven repository
- Create another auto starter for spring boot
- Add appropriate license
None