Changeset View
Changeset View
Standalone View
Standalone View
src/daemon/PhutilDaemon.php
| Show All 33 Lines | |||||
| * See @{class:PhutilHighIntensityIntervalDaemon} for an example of a simple | * See @{class:PhutilHighIntensityIntervalDaemon} for an example of a simple | ||||
| * autoscaling daemon. | * autoscaling daemon. | ||||
| * | * | ||||
| * Launching a daemon which does not make these callbacks into an autoscale | * Launching a daemon which does not make these callbacks into an autoscale | ||||
| * pool will have no effect. | * pool will have no effect. | ||||
| * | * | ||||
| * @task overseer Communicating With the Overseer | * @task overseer Communicating With the Overseer | ||||
| * @task autoscale Autoscaling Daemon Pools | * @task autoscale Autoscaling Daemon Pools | ||||
| * | |||||
| * @stable | |||||
| */ | */ | ||||
| abstract class PhutilDaemon { | abstract class PhutilDaemon extends Phobject { | ||||
| const MESSAGETYPE_STDOUT = 'stdout'; | const MESSAGETYPE_STDOUT = 'stdout'; | ||||
| const MESSAGETYPE_HEARTBEAT = 'heartbeat'; | const MESSAGETYPE_HEARTBEAT = 'heartbeat'; | ||||
| const MESSAGETYPE_BUSY = 'busy'; | const MESSAGETYPE_BUSY = 'busy'; | ||||
| const MESSAGETYPE_IDLE = 'idle'; | const MESSAGETYPE_IDLE = 'idle'; | ||||
| const MESSAGETYPE_DOWN = 'down'; | const MESSAGETYPE_DOWN = 'down'; | ||||
| const WORKSTATE_BUSY = 'busy'; | const WORKSTATE_BUSY = 'busy'; | ||||
| ▲ Show 20 Lines • Show All 345 Lines • Show Last 20 Lines | |||||