ActorState
: string
in package
Tags
Table of Contents
Cases
- New = 'new'
- Running = 'running'
- Starting = 'starting'
- Stopped = 'stopped'
- Stopping = 'stopping'
- Suspended = 'suspended'
Methods
- canTransitionTo() : bool
- Returns true if a transition from this state to the target state is valid.
Cases
New
Starting
Running
Suspended
Stopping
Stopped
Methods
canTransitionTo()
Returns true if a transition from this state to the target state is valid.
public
canTransitionTo(self $target) : bool
Valid transitions: New -> Starting Starting -> Running Running -> Suspended, Stopping, Starting (supervised restart) Suspended -> Running, Stopping, Starting (supervised restart) Stopping -> Stopped
Parameters
- $target : self