Package dev.frostlake.persistence
Class TaskSnapshot
java.lang.Object
dev.frostlake.persistence.TaskSnapshot
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionbooleanintintintlong -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
id
-
createdByUser
-
explicitParameters
-
schedule
-
scheduleType
-
sqlStatement
-
warehouse
-
predecessors
-
state
-
comment
-
condition
-
owner
-
suspendTaskAfterNumFailures
public int suspendTaskAfterNumFailures -
taskAutoRetryAttempts
public int taskAutoRetryAttempts -
allowOverlappingExecution
public boolean allowOverlappingExecution -
userTaskTimeoutMs
public long userTaskTimeoutMs -
userTaskManagedInitialWarehouseSize
-
serverlessTaskMaxStatementSize
-
targetCompletionInterval
-
errorIntegration
-
userTaskMinimumTriggerIntervalInSeconds
public int userTaskMinimumTriggerIntervalInSeconds
-
-
Constructor Details
-
TaskSnapshot
public TaskSnapshot()
-