Class: ClusterJob
Constructors
constructor
• new ClusterJob(config
): ClusterJob
Parameters
Name | Type |
---|---|
config | ClusterJobConfig |
Returns
Defined in
packages/backend/server/src/cluster/cluster-job.ts:32
Properties
processId
• processId: null
| string
= null
Defined in
packages/backend/server/src/cluster/cluster-job.ts:30
Methods
fatalError
▸ fatalError(remarks
): Promise
<void
>
Parameters
Name | Type |
---|---|
remarks | string |
Returns
Promise
<void
>
Defined in
packages/backend/server/src/cluster/cluster-job.ts:78
finish
▸ finish(): Promise
<void
>
Returns
Promise
<void
>
Defined in
packages/backend/server/src/cluster/cluster-job.ts:67
heartbeat
▸ heartbeat(remarks
): Promise
<void
>
Parameters
Name | Type |
---|---|
remarks | string |
Returns
Promise
<void
>
Defined in
packages/backend/server/src/cluster/cluster-job.ts:63
isFinished
▸ isFinished(): boolean
Returns
boolean
Defined in
packages/backend/server/src/cluster/cluster-job.ts:89
start
▸ start(): Promise
<void
>
Returns
Promise
<void
>