Job Components: `Interfaces Operation Lifecycle Slicer Operation Life Cycle`
interfaces/operation-lifecycle.SlicerOperationLifeCycle
Hierarchy
-
↳
SlicerOperationLifeCycle
Implemented by
Table of contents
Methods
Methods
initialize
▸ initialize(recoveryData?
): Promise
<void
>
Called during execution initialization, when this is cleanup any open connections or cleanup any in-memory state.
Parameters
Name | Type | Description |
---|---|---|
recoveryData? | SlicerRecoveryData [] | is the data to recover from (one for each slicer) |
Returns
Promise
<void
>
Overrides
Defined in
packages/job-components/src/interfaces/operation-lifecycle.ts:100
onExecutionStats
▸ onExecutionStats(stats
): void
A method called by the "Execution Controller" to give a "Slicer" the opportunity to track various slicer satistics
Parameters
Name | Type |
---|---|
stats | ExecutionStats |
Returns
void
Defined in
packages/job-components/src/interfaces/operation-lifecycle.ts:124
onSliceComplete
▸ onSliceComplete(result
): void
A method called by the "Execution Controller" to give a "Slicer" the opportunity to track the slices completed by the execution controller
Parameters
Name | Type |
---|---|
result | SliceResult |
Returns
void
Defined in
packages/job-components/src/interfaces/operation-lifecycle.ts:118
onSliceDispatch
▸ onSliceDispatch(slice
): void
A method called by the "Execution Controller" to give a "Slicer" the opportunity to track the slices disptached by the execution controller
Parameters
Name | Type |
---|---|
slice | Slice |
Returns
void
Defined in
packages/job-components/src/interfaces/operation-lifecycle.ts:112
onSliceEnqueued
▸ onSliceEnqueued(slice
): void
A method called by the "Execution Controller" to give a "Slicer" the opportunity to track the slices enqueued by the execution controller
Parameters
Name | Type |
---|---|
slice | Slice |
Returns
void
Defined in
packages/job-components/src/interfaces/operation-lifecycle.ts:106
shutdown
▸ shutdown(): Promise
<void
>
Called during execution shutdown, when this is cleanup any open connections or destroy any in-memory state.
Returns
Promise
<void
>
Inherited from
Defined in
packages/job-components/src/interfaces/operation-lifecycle.ts:17