Earl::Agent::Status
Inherits Enum < Comparable < Value < Object
The different statuses an agent can be in.
Constants
Initial state. May return to this state after Recycling.
The agent was started and is still running. Previous state must be
Starting to be able to transition.
The agent has been asked to stop. Previous state must be
Running to be able to transition.
The agent has stopped. Previous state must be Stopping to be able to
transition.
The agent has crashed (i.e. raised an exception). Previous state must be
Running, Stopping or Crashed to be able to transition.
The agent has been told to recycle. Previous state must be Stopped or
Crashed to be able to transition.
Instance methods
Returns true if this enum value equals Crashed
Returns true if this enum value equals Recycling
Returns true if this enum value equals Running
Returns true if this enum value equals Starting
Returns true if this enum value equals Stopped
Returns true if this enum value equals Stopping