Class DtoEngineConfiguration

java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoEngineConfiguration
All Implemented Interfaces:
IDtoEngineConfiguration

public class DtoEngineConfiguration extends Object implements IDtoEngineConfiguration
  • Constructor Details

    • DtoEngineConfiguration

      protected DtoEngineConfiguration()
    • DtoEngineConfiguration

      public DtoEngineConfiguration(Integer rounds)
  • Method Details

    • getRounds

      public Integer getRounds()
      Specified by:
      getRounds in interface IDtoEngineConfiguration
    • setRounds

      public void setRounds(Integer rounds)
      Specified by:
      setRounds in interface IDtoEngineConfiguration
    • getThreadCount

      public Integer getThreadCount()
      Number of threads that the engine may use in parallel. If count is set to `0` (default), it will automatically use all available threads from `Runtime.getRuntime().availableProcessors()`.
      Specified by:
      getThreadCount in interface IDtoEngineConfiguration
    • setThreadCount

      public void setThreadCount(Integer threadCount)
      Number of threads that the engine may use in parallel. If count is set to `0` (default), it will automatically use all available threads from `Runtime.getRuntime().availableProcessors()`.
      Specified by:
      setThreadCount in interface IDtoEngineConfiguration
    • withRounds

      public DtoEngineConfiguration withRounds(Integer rounds)
    • withThreadCount

      public DtoEngineConfiguration withThreadCount(Integer threadCount)
      Number of threads that the engine may use in parallel. If count is set to `0` (default), it will automatically use all available threads from `Runtime.getRuntime().availableProcessors()`.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object