Skip to main content

Class: ClusterJob

Constructors

constructor

new ClusterJob(config): ClusterJob

Parameters

NameType
configClusterJobConfig

Returns

ClusterJob

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

NameType
remarksstring

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

NameType
remarksstring

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>

Defined in

packages/backend/server/src/cluster/cluster-job.ts:51