Class TaskSnapshot

java.lang.Object
dev.frostlake.persistence.TaskSnapshot
All Implemented Interfaces:
Serializable

public class TaskSnapshot extends Object implements Serializable
Serializable snapshot of a TASK — its definition and STARTED/SUSPENDED state, restored as-is. Note that persistence does not re-arm the scheduler on load: a restored STARTED task is not actively scheduled until it is RESUMEd again (ALTER TASK … RESUME, with the scheduler running, is what arms the timer).
See Also:
  • Field Details

    • name

      public String name
    • id

      public String id
    • createdByUser

      public String createdByUser
    • explicitParameters

      public List<String> explicitParameters
    • schedule

      public String schedule
    • scheduleType

      public String scheduleType
    • sqlStatement

      public String sqlStatement
    • warehouse

      public String warehouse
    • predecessors

      public List<String> predecessors
    • state

      public String state
    • comment

      public String comment
    • condition

      public String condition
    • owner

      public String owner
    • suspendTaskAfterNumFailures

      public int suspendTaskAfterNumFailures
    • taskAutoRetryAttempts

      public int taskAutoRetryAttempts
    • allowOverlappingExecution

      public boolean allowOverlappingExecution
    • userTaskTimeoutMs

      public long userTaskTimeoutMs
    • userTaskManagedInitialWarehouseSize

      public String userTaskManagedInitialWarehouseSize
    • serverlessTaskMaxStatementSize

      public String serverlessTaskMaxStatementSize
    • targetCompletionInterval

      public String targetCompletionInterval
    • errorIntegration

      public String errorIntegration
    • userTaskMinimumTriggerIntervalInSeconds

      public int userTaskMinimumTriggerIntervalInSeconds
  • Constructor Details

    • TaskSnapshot

      public TaskSnapshot()