java.lang.Object
de.hybris.platform.servicelayer.stats.AbstractStatisticsCollector
de.hybris.platform.servicelayer.stats.collector_impl.ThreadsCollector
All Implemented Interfaces:
BasicStatisticsCollector, StatisticsCollector

public class ThreadsCollector extends AbstractStatisticsCollector implements BasicStatisticsCollector
StatisticsCollector collecting the amount of running Threads in the VM.
  • Constructor Details

    • ThreadsCollector

      public ThreadsCollector()
  • Method Details

    • collect

      public float collect()
      Description copied from interface: BasicStatisticsCollector
      Collects a specific set of data, to be shown by a chart.
      Specified by:
      collect in interface BasicStatisticsCollector
      Returns:
      float The data at the current tick.
    • evaluateValue

      public boolean evaluateValue(float value)
      Description copied from interface: BasicStatisticsCollector
      Evaluates the value, looking if the Value makes sense or not. Some Collectors may not work on some Operating Systems, so that we dont have to collect these data when running the platform on such a OS.
      Specified by:
      evaluateValue in interface BasicStatisticsCollector
      Parameters:
      value - Float the value that has to be checked.
      Returns:
      boolean Indicates if the value makes sense (true) or not (false).