ChildSpec

Inherits from: Object
Instance variables: id, startBlock, restart, shutdown

A child specification for a Supervisor. Each ChildSpec defines how to start a child process, when to restart it, and how to shut it down.

Test
spec := ChildSpec id: 'worker' start: [nil] restart: #permanent.
spec id >>> 'worker'
spec restart >>> #permanent
spec shutdown >>> 5000

Class Methods

uncategorized

class id:start:
class id:start:restart:
class id:start:restart:shutdown:

Instance Methods

uncategorized

id
primSetId:
primSetRestart:
primSetShutdown:
primSetStartBlock:
printString
restart
shutdown
startBlock