Package de.hybris.platform.hac.facade
Class ThreadDumpCollector
java.lang.Object
de.hybris.platform.hac.facade.ThreadDumpCollector
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class ThreadDumpCollector
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Collects thread dumps for a period of time and returns them as zip file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()booleanbooleanvoidstartCollecting(long interval) interval in milliseconds
-
Constructor Details
-
ThreadDumpCollector
public ThreadDumpCollector()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
startCollecting
public void startCollecting(long interval) interval in milliseconds -
isDumpAvailable
public boolean isDumpAvailable() -
stopCollecting
- Throws:
DumpNotAvailableException
-
getResult
-
isCollecting
public boolean isCollecting() -
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-