Class AgentSession.PhaseRecord
java.lang.Object
neqsim.util.agentic.AgentSession.PhaseRecord
- All Implemented Interfaces:
Serializable
- Enclosing class:
AgentSession
Record of a single workflow phase with timing.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongWhen the phase ended (epoch millis), 0 if still running.final AgentSession.PhaseThe workflow phase.private static final longfinal longWhen the phase started (epoch millis). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet duration of this phase in seconds.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
phase
The workflow phase. -
startTimeMillis
public final long startTimeMillisWhen the phase started (epoch millis). -
endTimeMillis
public long endTimeMillisWhen the phase ended (epoch millis), 0 if still running.
-
-
Constructor Details
-
PhaseRecord
-
-
Method Details
-
getDurationSeconds
public double getDurationSeconds()Get duration of this phase in seconds.- Returns:
- duration in seconds
-