Class AgentSession.PhaseRecord

java.lang.Object
neqsim.util.agentic.AgentSession.PhaseRecord
All Implemented Interfaces:
Serializable
Enclosing class:
AgentSession

public static class AgentSession.PhaseRecord extends Object implements Serializable
Record of a single workflow phase with timing.
Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • phase

      public final AgentSession.Phase phase
      The workflow phase.
    • startTimeMillis

      public final long startTimeMillis
      When the phase started (epoch millis).
    • endTimeMillis

      public long endTimeMillis
      When the phase ended (epoch millis), 0 if still running.
  • Constructor Details

    • PhaseRecord

      PhaseRecord(AgentSession.Phase phase)
      Constructor.
      Parameters:
      phase - the workflow phase
  • Method Details

    • getDurationSeconds

      public double getDurationSeconds()
      Get duration of this phase in seconds.
      Returns:
      duration in seconds