Documentation
¶
Index ¶
- type ActivityRetryTimerTask
- func (r *ActivityRetryTimerTask) GetKey() Key
- func (r *ActivityRetryTimerTask) GetTaskID() int64
- func (r *ActivityRetryTimerTask) GetVersion() int64
- func (r *ActivityRetryTimerTask) GetVisibilityTime() time.Time
- func (r *ActivityRetryTimerTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (r *ActivityRetryTimerTask) SetTaskID(id int64)
- func (r *ActivityRetryTimerTask) SetVersion(version int64)
- func (r *ActivityRetryTimerTask) SetVisibilityTime(t time.Time)
- type ActivityTask
- func (a *ActivityTask) GetKey() Key
- func (a *ActivityTask) GetTaskID() int64
- func (a *ActivityTask) GetVersion() int64
- func (a *ActivityTask) GetVisibilityTime() time.Time
- func (a *ActivityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (a *ActivityTask) SetTaskID(id int64)
- func (a *ActivityTask) SetVersion(version int64)
- func (a *ActivityTask) SetVisibilityTime(timestamp time.Time)
- type ActivityTimeoutTask
- func (a *ActivityTimeoutTask) GetKey() Key
- func (a *ActivityTimeoutTask) GetTaskID() int64
- func (a *ActivityTimeoutTask) GetVersion() int64
- func (a *ActivityTimeoutTask) GetVisibilityTime() time.Time
- func (a *ActivityTimeoutTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (a *ActivityTimeoutTask) SetTaskID(id int64)
- func (a *ActivityTimeoutTask) SetVersion(version int64)
- func (a *ActivityTimeoutTask) SetVisibilityTime(t time.Time)
- type CancelExecutionTask
- func (u *CancelExecutionTask) GetKey() Key
- func (u *CancelExecutionTask) GetTaskID() int64
- func (u *CancelExecutionTask) GetVersion() int64
- func (u *CancelExecutionTask) GetVisibilityTime() time.Time
- func (u *CancelExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (u *CancelExecutionTask) SetTaskID(id int64)
- func (u *CancelExecutionTask) SetVersion(version int64)
- func (u *CancelExecutionTask) SetVisibilityTime(timestamp time.Time)
- type CloseExecutionTask
- func (a *CloseExecutionTask) GetKey() Key
- func (a *CloseExecutionTask) GetTaskID() int64
- func (a *CloseExecutionTask) GetVersion() int64
- func (a *CloseExecutionTask) GetVisibilityTime() time.Time
- func (a *CloseExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (a *CloseExecutionTask) SetTaskID(id int64)
- func (a *CloseExecutionTask) SetVersion(version int64)
- func (a *CloseExecutionTask) SetVisibilityTime(timestamp time.Time)
- type CloseExecutionVisibilityTask
- func (t *CloseExecutionVisibilityTask) GetKey() Key
- func (t *CloseExecutionVisibilityTask) GetTaskID() int64
- func (t *CloseExecutionVisibilityTask) GetVersion() int64
- func (t *CloseExecutionVisibilityTask) GetVisibilityTime() time.Time
- func (t *CloseExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (t *CloseExecutionVisibilityTask) SetTaskID(id int64)
- func (t *CloseExecutionVisibilityTask) SetVersion(version int64)
- func (t *CloseExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
- type DeleteExecutionVisibilityTask
- func (t *DeleteExecutionVisibilityTask) GetKey() Key
- func (t *DeleteExecutionVisibilityTask) GetTaskID() int64
- func (t *DeleteExecutionVisibilityTask) GetVersion() int64
- func (t *DeleteExecutionVisibilityTask) GetVisibilityTime() time.Time
- func (t *DeleteExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (t *DeleteExecutionVisibilityTask) SetTaskID(id int64)
- func (t *DeleteExecutionVisibilityTask) SetVersion(version int64)
- func (t *DeleteExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
- type DeleteHistoryEventTask
- func (a *DeleteHistoryEventTask) GetKey() Key
- func (a *DeleteHistoryEventTask) GetTaskID() int64
- func (a *DeleteHistoryEventTask) GetVersion() int64
- func (a *DeleteHistoryEventTask) GetVisibilityTime() time.Time
- func (a *DeleteHistoryEventTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (a *DeleteHistoryEventTask) SetTaskID(id int64)
- func (a *DeleteHistoryEventTask) SetVersion(version int64)
- func (a *DeleteHistoryEventTask) SetVisibilityTime(timestamp time.Time)
- type HistoryReplicationTask
- func (a *HistoryReplicationTask) GetKey() Key
- func (a *HistoryReplicationTask) GetTaskID() int64
- func (a *HistoryReplicationTask) GetVersion() int64
- func (a *HistoryReplicationTask) GetVisibilityTime() time.Time
- func (a *HistoryReplicationTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (a *HistoryReplicationTask) SetTaskID(id int64)
- func (a *HistoryReplicationTask) SetVersion(version int64)
- func (a *HistoryReplicationTask) SetVisibilityTime(timestamp time.Time)
- type Key
- type Keys
- type ResetWorkflowTask
- func (a *ResetWorkflowTask) GetKey() Key
- func (a *ResetWorkflowTask) GetTaskID() int64
- func (a *ResetWorkflowTask) GetVersion() int64
- func (a *ResetWorkflowTask) GetVisibilityTime() time.Time
- func (a *ResetWorkflowTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (a *ResetWorkflowTask) SetTaskID(id int64)
- func (a *ResetWorkflowTask) SetVersion(version int64)
- func (a *ResetWorkflowTask) SetVisibilityTime(timestamp time.Time)
- type SignalExecutionTask
- func (u *SignalExecutionTask) GetKey() Key
- func (u *SignalExecutionTask) GetTaskID() int64
- func (u *SignalExecutionTask) GetVersion() int64
- func (u *SignalExecutionTask) GetVisibilityTime() time.Time
- func (u *SignalExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (u *SignalExecutionTask) SetTaskID(id int64)
- func (u *SignalExecutionTask) SetVersion(version int64)
- func (u *SignalExecutionTask) SetVisibilityTime(timestamp time.Time)
- type StartChildExecutionTask
- func (u *StartChildExecutionTask) GetKey() Key
- func (u *StartChildExecutionTask) GetTaskID() int64
- func (u *StartChildExecutionTask) GetVersion() int64
- func (u *StartChildExecutionTask) GetVisibilityTime() time.Time
- func (a *StartChildExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (u *StartChildExecutionTask) SetTaskID(id int64)
- func (u *StartChildExecutionTask) SetVersion(version int64)
- func (u *StartChildExecutionTask) SetVisibilityTime(timestamp time.Time)
- type StartExecutionVisibilityTask
- func (t *StartExecutionVisibilityTask) GetKey() Key
- func (t *StartExecutionVisibilityTask) GetTaskID() int64
- func (t *StartExecutionVisibilityTask) GetVersion() int64
- func (t *StartExecutionVisibilityTask) GetVisibilityTime() time.Time
- func (t *StartExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (t *StartExecutionVisibilityTask) SetTaskID(id int64)
- func (t *StartExecutionVisibilityTask) SetVersion(version int64)
- func (t *StartExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
- type SyncActivityTask
- func (a *SyncActivityTask) GetKey() Key
- func (a *SyncActivityTask) GetTaskID() int64
- func (a *SyncActivityTask) GetVersion() int64
- func (a *SyncActivityTask) GetVisibilityTime() time.Time
- func (a *SyncActivityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (a *SyncActivityTask) SetTaskID(id int64)
- func (a *SyncActivityTask) SetVersion(version int64)
- func (a *SyncActivityTask) SetVisibilityTime(timestamp time.Time)
- type Task
- type UpsertExecutionVisibilityTask
- func (t *UpsertExecutionVisibilityTask) GetKey() Key
- func (t *UpsertExecutionVisibilityTask) GetTaskID() int64
- func (t *UpsertExecutionVisibilityTask) GetVersion() int64
- func (t *UpsertExecutionVisibilityTask) GetVisibilityTime() time.Time
- func (t *UpsertExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (t *UpsertExecutionVisibilityTask) SetTaskID(id int64)
- func (t *UpsertExecutionVisibilityTask) SetVersion(version int64)
- func (t *UpsertExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
- type UserTimerTask
- func (u *UserTimerTask) GetKey() Key
- func (u *UserTimerTask) GetTaskID() int64
- func (u *UserTimerTask) GetVersion() int64
- func (u *UserTimerTask) GetVisibilityTime() time.Time
- func (u *UserTimerTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (u *UserTimerTask) SetTaskID(id int64)
- func (u *UserTimerTask) SetVersion(version int64)
- func (u *UserTimerTask) SetVisibilityTime(t time.Time)
- type WorkflowBackoffTimerTask
- func (r *WorkflowBackoffTimerTask) GetKey() Key
- func (r *WorkflowBackoffTimerTask) GetTaskID() int64
- func (r *WorkflowBackoffTimerTask) GetVersion() int64
- func (r *WorkflowBackoffTimerTask) GetVisibilityTime() time.Time
- func (r *WorkflowBackoffTimerTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (r *WorkflowBackoffTimerTask) SetTaskID(id int64)
- func (r *WorkflowBackoffTimerTask) SetVersion(version int64)
- func (r *WorkflowBackoffTimerTask) SetVisibilityTime(t time.Time)
- type WorkflowTask
- func (d *WorkflowTask) GetKey() Key
- func (d *WorkflowTask) GetTaskID() int64
- func (d *WorkflowTask) GetVersion() int64
- func (d *WorkflowTask) GetVisibilityTime() time.Time
- func (d *WorkflowTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (d *WorkflowTask) SetTaskID(id int64)
- func (d *WorkflowTask) SetVersion(version int64)
- func (d *WorkflowTask) SetVisibilityTime(timestamp time.Time)
- type WorkflowTaskTimeoutTask
- func (d *WorkflowTaskTimeoutTask) GetKey() Key
- func (d *WorkflowTaskTimeoutTask) GetTaskID() int64
- func (d *WorkflowTaskTimeoutTask) GetVersion() int64
- func (d *WorkflowTaskTimeoutTask) GetVisibilityTime() time.Time
- func (d *WorkflowTaskTimeoutTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (d *WorkflowTaskTimeoutTask) SetTaskID(id int64)
- func (d *WorkflowTaskTimeoutTask) SetVersion(version int64)
- func (d *WorkflowTaskTimeoutTask) SetVisibilityTime(t time.Time)
- type WorkflowTimeoutTask
- func (u *WorkflowTimeoutTask) GetKey() Key
- func (u *WorkflowTimeoutTask) GetTaskID() int64
- func (u *WorkflowTimeoutTask) GetVersion() int64
- func (u *WorkflowTimeoutTask) GetVisibilityTime() time.Time
- func (u *WorkflowTimeoutTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
- func (u *WorkflowTimeoutTask) SetTaskID(id int64)
- func (u *WorkflowTimeoutTask) SetVersion(version int64)
- func (u *WorkflowTimeoutTask) SetVisibilityTime(t time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityRetryTimerTask ¶
type ActivityRetryTimerTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
EventID int64
Version int64
Attempt int32
}
func (*ActivityRetryTimerTask) GetVersion ¶
func (r *ActivityRetryTimerTask) GetVersion() int64
func (*ActivityRetryTimerTask) GetVisibilityTime ¶
func (r *ActivityRetryTimerTask) GetVisibilityTime() time.Time
func (*ActivityRetryTimerTask) GetWorkflowIdentifier ¶
func (r *ActivityRetryTimerTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*ActivityRetryTimerTask) SetVersion ¶
func (r *ActivityRetryTimerTask) SetVersion(version int64)
func (*ActivityRetryTimerTask) SetVisibilityTime ¶
func (r *ActivityRetryTimerTask) SetVisibilityTime(t time.Time)
type ActivityTask ¶
type ActivityTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
TargetNamespaceID string
TaskQueue string
ScheduleID int64
Version int64
}
func (*ActivityTask) GetVersion ¶
func (a *ActivityTask) GetVersion() int64
func (*ActivityTask) GetVisibilityTime ¶
func (a *ActivityTask) GetVisibilityTime() time.Time
func (*ActivityTask) GetWorkflowIdentifier ¶
func (a *ActivityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*ActivityTask) SetVersion ¶
func (a *ActivityTask) SetVersion(version int64)
func (*ActivityTask) SetVisibilityTime ¶
func (a *ActivityTask) SetVisibilityTime(timestamp time.Time)
type ActivityTimeoutTask ¶
type ActivityTimeoutTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
TimeoutType enumspb.TimeoutType
EventID int64
Attempt int32
Version int64
}
func (*ActivityTimeoutTask) GetVersion ¶
func (a *ActivityTimeoutTask) GetVersion() int64
func (*ActivityTimeoutTask) GetVisibilityTime ¶
func (a *ActivityTimeoutTask) GetVisibilityTime() time.Time
func (*ActivityTimeoutTask) GetWorkflowIdentifier ¶
func (a *ActivityTimeoutTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*ActivityTimeoutTask) SetVersion ¶
func (a *ActivityTimeoutTask) SetVersion(version int64)
func (*ActivityTimeoutTask) SetVisibilityTime ¶
func (a *ActivityTimeoutTask) SetVisibilityTime(t time.Time)
type CancelExecutionTask ¶
type CancelExecutionTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
TargetNamespaceID string
TargetWorkflowID string
TargetRunID string
TargetChildWorkflowOnly bool
InitiatedID int64
Version int64
}
func (*CancelExecutionTask) GetVersion ¶
func (u *CancelExecutionTask) GetVersion() int64
func (*CancelExecutionTask) GetVisibilityTime ¶
func (u *CancelExecutionTask) GetVisibilityTime() time.Time
func (*CancelExecutionTask) GetWorkflowIdentifier ¶
func (u *CancelExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*CancelExecutionTask) SetVersion ¶
func (u *CancelExecutionTask) SetVersion(version int64)
func (*CancelExecutionTask) SetVisibilityTime ¶
func (u *CancelExecutionTask) SetVisibilityTime(timestamp time.Time)
type CloseExecutionTask ¶
type CloseExecutionTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
}
func (*CloseExecutionTask) GetVersion ¶
func (a *CloseExecutionTask) GetVersion() int64
func (*CloseExecutionTask) GetVisibilityTime ¶
func (a *CloseExecutionTask) GetVisibilityTime() time.Time
func (*CloseExecutionTask) GetWorkflowIdentifier ¶
func (a *CloseExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*CloseExecutionTask) SetVersion ¶
func (a *CloseExecutionTask) SetVersion(version int64)
func (*CloseExecutionTask) SetVisibilityTime ¶
func (a *CloseExecutionTask) SetVisibilityTime(timestamp time.Time)
type CloseExecutionVisibilityTask ¶
type CloseExecutionVisibilityTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
}
func (*CloseExecutionVisibilityTask) GetTaskID ¶
func (t *CloseExecutionVisibilityTask) GetTaskID() int64
func (*CloseExecutionVisibilityTask) GetVersion ¶
func (t *CloseExecutionVisibilityTask) GetVersion() int64
func (*CloseExecutionVisibilityTask) GetVisibilityTime ¶
func (t *CloseExecutionVisibilityTask) GetVisibilityTime() time.Time
func (*CloseExecutionVisibilityTask) GetWorkflowIdentifier ¶
func (t *CloseExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*CloseExecutionVisibilityTask) SetTaskID ¶
func (t *CloseExecutionVisibilityTask) SetTaskID(id int64)
func (*CloseExecutionVisibilityTask) SetVersion ¶
func (t *CloseExecutionVisibilityTask) SetVersion(version int64)
func (*CloseExecutionVisibilityTask) SetVisibilityTime ¶
func (t *CloseExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
type DeleteExecutionVisibilityTask ¶
type DeleteExecutionVisibilityTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
}
func (*DeleteExecutionVisibilityTask) GetTaskID ¶
func (t *DeleteExecutionVisibilityTask) GetTaskID() int64
func (*DeleteExecutionVisibilityTask) GetVersion ¶
func (t *DeleteExecutionVisibilityTask) GetVersion() int64
func (*DeleteExecutionVisibilityTask) GetVisibilityTime ¶
func (t *DeleteExecutionVisibilityTask) GetVisibilityTime() time.Time
func (*DeleteExecutionVisibilityTask) GetWorkflowIdentifier ¶
func (t *DeleteExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*DeleteExecutionVisibilityTask) SetTaskID ¶
func (t *DeleteExecutionVisibilityTask) SetTaskID(id int64)
func (*DeleteExecutionVisibilityTask) SetVersion ¶
func (t *DeleteExecutionVisibilityTask) SetVersion(version int64)
func (*DeleteExecutionVisibilityTask) SetVisibilityTime ¶
func (t *DeleteExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
type DeleteHistoryEventTask ¶
type DeleteHistoryEventTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
}
func (*DeleteHistoryEventTask) GetVersion ¶
func (a *DeleteHistoryEventTask) GetVersion() int64
func (*DeleteHistoryEventTask) GetVisibilityTime ¶
func (a *DeleteHistoryEventTask) GetVisibilityTime() time.Time
func (*DeleteHistoryEventTask) GetWorkflowIdentifier ¶
func (a *DeleteHistoryEventTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*DeleteHistoryEventTask) SetVersion ¶
func (a *DeleteHistoryEventTask) SetVersion(version int64)
func (*DeleteHistoryEventTask) SetVisibilityTime ¶
func (a *DeleteHistoryEventTask) SetVisibilityTime(timestamp time.Time)
type HistoryReplicationTask ¶
type HistoryReplicationTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
FirstEventID int64
NextEventID int64
Version int64
BranchToken []byte
NewRunBranchToken []byte
}
func (*HistoryReplicationTask) GetVersion ¶
func (a *HistoryReplicationTask) GetVersion() int64
func (*HistoryReplicationTask) GetVisibilityTime ¶
func (a *HistoryReplicationTask) GetVisibilityTime() time.Time
func (*HistoryReplicationTask) GetWorkflowIdentifier ¶
func (a *HistoryReplicationTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*HistoryReplicationTask) SetVersion ¶
func (a *HistoryReplicationTask) SetVersion(version int64)
func (*HistoryReplicationTask) SetVisibilityTime ¶
func (a *HistoryReplicationTask) SetVisibilityTime(timestamp time.Time)
type Key ¶
type Key struct {
// FireTime is the scheduled time of the task
FireTime time.Time
// TaskID is the ID of the task
TaskID int64
}
type ResetWorkflowTask ¶
type ResetWorkflowTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
}
func (*ResetWorkflowTask) GetVersion ¶
func (a *ResetWorkflowTask) GetVersion() int64
func (*ResetWorkflowTask) GetVisibilityTime ¶
func (a *ResetWorkflowTask) GetVisibilityTime() time.Time
func (*ResetWorkflowTask) GetWorkflowIdentifier ¶
func (a *ResetWorkflowTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*ResetWorkflowTask) SetVersion ¶
func (a *ResetWorkflowTask) SetVersion(version int64)
func (*ResetWorkflowTask) SetVisibilityTime ¶
func (a *ResetWorkflowTask) SetVisibilityTime(timestamp time.Time)
type SignalExecutionTask ¶
type SignalExecutionTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
TargetNamespaceID string
TargetWorkflowID string
TargetRunID string
TargetChildWorkflowOnly bool
InitiatedID int64
Version int64
}
func (*SignalExecutionTask) GetVersion ¶
func (u *SignalExecutionTask) GetVersion() int64
func (*SignalExecutionTask) GetVisibilityTime ¶
func (u *SignalExecutionTask) GetVisibilityTime() time.Time
func (*SignalExecutionTask) GetWorkflowIdentifier ¶
func (u *SignalExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*SignalExecutionTask) SetVersion ¶
func (u *SignalExecutionTask) SetVersion(version int64)
func (*SignalExecutionTask) SetVisibilityTime ¶
func (u *SignalExecutionTask) SetVisibilityTime(timestamp time.Time)
type StartChildExecutionTask ¶
type StartChildExecutionTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
TargetNamespaceID string
TargetWorkflowID string
InitiatedID int64
Version int64
}
func (*StartChildExecutionTask) GetVersion ¶
func (u *StartChildExecutionTask) GetVersion() int64
func (*StartChildExecutionTask) GetVisibilityTime ¶
func (u *StartChildExecutionTask) GetVisibilityTime() time.Time
func (*StartChildExecutionTask) GetWorkflowIdentifier ¶
func (a *StartChildExecutionTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*StartChildExecutionTask) SetVersion ¶
func (u *StartChildExecutionTask) SetVersion(version int64)
func (*StartChildExecutionTask) SetVisibilityTime ¶
func (u *StartChildExecutionTask) SetVisibilityTime(timestamp time.Time)
type StartExecutionVisibilityTask ¶
type StartExecutionVisibilityTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
}
func (*StartExecutionVisibilityTask) GetTaskID ¶
func (t *StartExecutionVisibilityTask) GetTaskID() int64
func (*StartExecutionVisibilityTask) GetVersion ¶
func (t *StartExecutionVisibilityTask) GetVersion() int64
func (*StartExecutionVisibilityTask) GetVisibilityTime ¶
func (t *StartExecutionVisibilityTask) GetVisibilityTime() time.Time
func (*StartExecutionVisibilityTask) GetWorkflowIdentifier ¶
func (t *StartExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*StartExecutionVisibilityTask) SetTaskID ¶
func (t *StartExecutionVisibilityTask) SetTaskID(id int64)
func (*StartExecutionVisibilityTask) SetVersion ¶
func (t *StartExecutionVisibilityTask) SetVersion(version int64)
func (*StartExecutionVisibilityTask) SetVisibilityTime ¶
func (t *StartExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
type SyncActivityTask ¶
type SyncActivityTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
ScheduledID int64
}
func (*SyncActivityTask) GetVersion ¶
func (a *SyncActivityTask) GetVersion() int64
func (*SyncActivityTask) GetVisibilityTime ¶
func (a *SyncActivityTask) GetVisibilityTime() time.Time
func (*SyncActivityTask) GetWorkflowIdentifier ¶
func (a *SyncActivityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*SyncActivityTask) SetVersion ¶
func (a *SyncActivityTask) SetVersion(version int64)
func (*SyncActivityTask) SetVisibilityTime ¶
func (a *SyncActivityTask) SetVisibilityTime(timestamp time.Time)
type Task ¶
type Task interface {
GetWorkflowIdentifier() definition.WorkflowIdentifier
GetKey() Key
GetVersion() int64
SetVersion(version int64)
GetTaskID() int64
SetTaskID(id int64)
GetVisibilityTime() time.Time
SetVisibilityTime(timestamp time.Time)
}
Task is the generic task interface
type UpsertExecutionVisibilityTask ¶
type UpsertExecutionVisibilityTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
// this version is not used by task processing for validation,
// instead, the version is used by elastic search
Version int64
}
func (*UpsertExecutionVisibilityTask) GetTaskID ¶
func (t *UpsertExecutionVisibilityTask) GetTaskID() int64
func (*UpsertExecutionVisibilityTask) GetVersion ¶
func (t *UpsertExecutionVisibilityTask) GetVersion() int64
func (*UpsertExecutionVisibilityTask) GetVisibilityTime ¶
func (t *UpsertExecutionVisibilityTask) GetVisibilityTime() time.Time
func (*UpsertExecutionVisibilityTask) GetWorkflowIdentifier ¶
func (t *UpsertExecutionVisibilityTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*UpsertExecutionVisibilityTask) SetTaskID ¶
func (t *UpsertExecutionVisibilityTask) SetTaskID(id int64)
func (*UpsertExecutionVisibilityTask) SetVersion ¶
func (t *UpsertExecutionVisibilityTask) SetVersion(version int64)
func (*UpsertExecutionVisibilityTask) SetVisibilityTime ¶
func (t *UpsertExecutionVisibilityTask) SetVisibilityTime(timestamp time.Time)
type UserTimerTask ¶
type UserTimerTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
EventID int64
Version int64
}
func (*UserTimerTask) GetVersion ¶
func (u *UserTimerTask) GetVersion() int64
func (*UserTimerTask) GetVisibilityTime ¶
func (u *UserTimerTask) GetVisibilityTime() time.Time
func (*UserTimerTask) GetWorkflowIdentifier ¶
func (u *UserTimerTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*UserTimerTask) SetVersion ¶
func (u *UserTimerTask) SetVersion(version int64)
func (*UserTimerTask) SetVisibilityTime ¶
func (u *UserTimerTask) SetVisibilityTime(t time.Time)
type WorkflowBackoffTimerTask ¶
type WorkflowBackoffTimerTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
WorkflowBackoffType enumsspb.WorkflowBackoffType
}
func (*WorkflowBackoffTimerTask) GetVersion ¶
func (r *WorkflowBackoffTimerTask) GetVersion() int64
func (*WorkflowBackoffTimerTask) GetVisibilityTime ¶
func (r *WorkflowBackoffTimerTask) GetVisibilityTime() time.Time
func (*WorkflowBackoffTimerTask) GetWorkflowIdentifier ¶
func (r *WorkflowBackoffTimerTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*WorkflowBackoffTimerTask) SetVersion ¶
func (r *WorkflowBackoffTimerTask) SetVersion(version int64)
func (*WorkflowBackoffTimerTask) SetVisibilityTime ¶
func (r *WorkflowBackoffTimerTask) SetVisibilityTime(t time.Time)
type WorkflowTask ¶
type WorkflowTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
NamespaceID string // TODO remove since not used
TaskQueue string
ScheduleID int64
Version int64
}
func (*WorkflowTask) GetVersion ¶
func (d *WorkflowTask) GetVersion() int64
func (*WorkflowTask) GetVisibilityTime ¶
func (d *WorkflowTask) GetVisibilityTime() time.Time
func (*WorkflowTask) GetWorkflowIdentifier ¶
func (d *WorkflowTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*WorkflowTask) SetVersion ¶
func (d *WorkflowTask) SetVersion(version int64)
func (*WorkflowTask) SetVisibilityTime ¶
func (d *WorkflowTask) SetVisibilityTime(timestamp time.Time)
type WorkflowTaskTimeoutTask ¶
type WorkflowTaskTimeoutTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
EventID int64
ScheduleAttempt int32
TimeoutType enumspb.TimeoutType
Version int64
}
func (*WorkflowTaskTimeoutTask) GetVersion ¶
func (d *WorkflowTaskTimeoutTask) GetVersion() int64
func (*WorkflowTaskTimeoutTask) GetVisibilityTime ¶
func (d *WorkflowTaskTimeoutTask) GetVisibilityTime() time.Time
func (*WorkflowTaskTimeoutTask) GetWorkflowIdentifier ¶
func (d *WorkflowTaskTimeoutTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*WorkflowTaskTimeoutTask) SetVersion ¶
func (d *WorkflowTaskTimeoutTask) SetVersion(version int64)
func (*WorkflowTaskTimeoutTask) SetVisibilityTime ¶
func (d *WorkflowTaskTimeoutTask) SetVisibilityTime(t time.Time)
type WorkflowTimeoutTask ¶
type WorkflowTimeoutTask struct {
definition.WorkflowIdentifier
VisibilityTimestamp time.Time
TaskID int64
Version int64
}
func (*WorkflowTimeoutTask) GetVersion ¶
func (u *WorkflowTimeoutTask) GetVersion() int64
func (*WorkflowTimeoutTask) GetVisibilityTime ¶
func (u *WorkflowTimeoutTask) GetVisibilityTime() time.Time
func (*WorkflowTimeoutTask) GetWorkflowIdentifier ¶
func (u *WorkflowTimeoutTask) GetWorkflowIdentifier() definition.WorkflowIdentifier
func (*WorkflowTimeoutTask) SetVersion ¶
func (u *WorkflowTimeoutTask) SetVersion(version int64)
func (*WorkflowTimeoutTask) SetVisibilityTime ¶
func (u *WorkflowTimeoutTask) SetVisibilityTime(t time.Time)
Source Files
¶
- activity_replication_task.go
- activity_retry_timer.go
- activity_task.go
- activity_task_timer.go
- child_workflow_task.go
- close_task.go
- close_visibility_task.go
- delete_visibility_task.go
- history_replication_task.go
- requst_cancel_task.go
- reset_task.go
- signal_task.go
- start_visibility_task.go
- task.go
- upsert_visibility_task.go
- user_timer.go
- workflow_cleanup_timer.go
- workflow_delay_timer.go
- workflow_task.go
- workflow_task_timer.go
- workflow_timer.go
Click to show internal directories.
Click to hide internal directories.