Interface AnalyzerPreHeater

All Superinterfaces:
Analyzer, Serializable
All Known Implementing Classes:
AbstractUserAgentAnalyzer, AbstractUserAgentAnalyzerDirect, UserAgentAnalyzer, UserAgentAnalyzerDirect, UserAgentAnalyzerTester, UserAgentStringMatchMakerTester

public interface AnalyzerPreHeater extends Analyzer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.logging.log4j.Logger
     
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default List<TestCase>
     
    default long
    Runs all testcases once to heat up the JVM.
    default long
    preHeat(long preheatIterations)
    Runs the number of specified testcases to heat up the JVM.
    default long
    preHeat(long preheatIterations, boolean log)
    Runs the number of specified testcases to heat up the JVM.
    default long
    preHeat(List<TestCase> testCases, long preheatIterations, boolean log)
     

    Methods inherited from interface nl.basjes.parse.useragent.Analyzer

    parse, parse
  • Field Details

    • LOG

      static final org.apache.logging.log4j.Logger LOG
    • MAX_PRE_HEAT_ITERATIONS

      static final long MAX_PRE_HEAT_ITERATIONS
      See Also:
  • Method Details

    • getPreheatTestCases

      List<TestCase> getPreheatTestCases()
    • internalGetTestCasesForPreheat

      default List<TestCase> internalGetTestCasesForPreheat()
    • preHeat

      default long preHeat()
      Runs all testcases once to heat up the JVM.
      Returns:
      Number of actually done testcases.
    • preHeat

      default long preHeat(long preheatIterations)
      Runs the number of specified testcases to heat up the JVM.
      Parameters:
      preheatIterations - Number of desired tests to run.
      Returns:
      Number of actually done testcases.
    • preHeat

      default long preHeat(long preheatIterations, boolean log)
      Runs the number of specified testcases to heat up the JVM.
      Parameters:
      preheatIterations - Number of desired tests to run.
      log - Enable logging?
      Returns:
      Number of actually done testcases.
    • preHeat

      default long preHeat(List<TestCase> testCases, long preheatIterations, boolean log)