java.lang.Object
com.netflix.conductor.common.metadata.Auditable
com.netflix.conductor.common.metadata.tasks.TaskDef

public class TaskDef extends Auditable
  • Field Details

  • Constructor Details

    • TaskDef

      public TaskDef(String name)
    • TaskDef

      public TaskDef(String name, String description)
    • TaskDef

      public TaskDef(String name, String description, int retryCount, long timeoutSeconds)
    • TaskDef

      public TaskDef(String name, String description, String ownerEmail, int retryCount, long timeoutSeconds, long responseTimeoutSeconds)
  • Method Details

    • getRateLimitPerFrequency

      public Integer getRateLimitPerFrequency()
      Returns:
      rateLimitPerFrequency The max number of tasks that will be allowed to be executed per rateLimitFrequencyInSeconds.
    • getRateLimitFrequencyInSeconds

      public Integer getRateLimitFrequencyInSeconds()
      Returns:
      rateLimitFrequencyInSeconds: The time bucket that is used to rate limit tasks based on getRateLimitPerFrequency() If null or not set, then defaults to 1 second
    • concurrencyLimit

      public int concurrencyLimit()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object