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 Details

    • ThreadDumpCollector

      public ThreadDumpCollector()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • startCollecting

      public void startCollecting(long interval)
      interval in milliseconds
    • isDumpAvailable

      public boolean isDumpAvailable()
    • stopCollecting

      public Path stopCollecting() throws DumpNotAvailableException
      Throws:
      DumpNotAvailableException
    • getResult

      public Path getResult()
    • isCollecting

      public boolean isCollecting()
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      Exception