Class ExecutionEndedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
es.urjc.etsii.grafo.events.types.MorkEvent
es.urjc.etsii.grafo.events.types.ExecutionEndedEvent
All Implemented Interfaces:
Serializable

public class ExecutionEndedEvent extends MorkEvent
Triggered when solver execution ends
See Also:
  • Constructor Details

    • ExecutionEndedEvent

      public ExecutionEndedEvent(long executionTime)
      Create a new ExecutionEndedEvent providing the accumulated execution time.
      Parameters:
      executionTime - total execution time in nanoseconds
  • Method Details

    • getExecutionTime

      public long getExecutionTime()
      Get accumulated execution time
      Returns:
      execution time in nanoseconds