Enum EventType
- All Implemented Interfaces:
Serializable,Comparable<EventType>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe server of a station breaks down (goes from up to down).A job holding a server is pushed back into the buffer.The server of a station is repaired (goes from down to up).A job begins, or resumes, holding a server at a station.The server of a polling station advances its switchover timer. -
Method Summary
-
Enum Constant Details
-
INIT
-
LOCAL
-
ARV
-
DEP
-
PHASE
-
READ
-
STAGE
-
ENABLE
-
FIRE
-
PRE
-
POST
-
RENEGE
-
RETRY
-
SWITCH
The server of a polling station advances its switchover timer.Unlike PHASE, which carries only the internal transitions of a phase-type and leaves the absorption to DEP, this event carries both: the completion of a switchover moves no job and so has no departure to attach the absorption to. It is therefore emitted also for a single-phase switchover, where it consists of the absorption alone.
-
FAILURE
The server of a station breaks down (goes from up to down).Only the server-status local variable changes: jobs in service are not lost and, service being memoryless in the supported case, they resume when the server is repaired. The passive half is LOCAL, so no job moves.
-
REPAIR
The server of a station is repaired (goes from down to up).No START is emitted here on purpose: the supported breakdown model resumes the job the server was holding rather than restarting it (downServiceRates degrades the server, it does not evict).
-
START
A job begins, or resumes, holding a server at a station.Instantaneous tag on the arc of the ARV or DEP transition that causes it, never the active half of an sn.sync entry: it carries no clock, adds no state and leaves every numerical result unchanged.
-
PREEMPT
A job holding a server is pushed back into the buffer.Spelled in full because PRE already names the Petri-net pre-arc. Like START, an instantaneous tag on an existing arc.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-