Class AfterRestoreEvent

java.lang.Object
java.util.EventObject
io.micronaut.crac.events.AfterRestoreEvent
All Implemented Interfaces:
Serializable

public class AfterRestoreEvent extends EventObject
An event fired after a CRaC checkpoint is restored.
Since:
1.0.0
Author:
Tim Yates
See Also:
  • Constructor Details

    • AfterRestoreEvent

      public AfterRestoreEvent(OrderedResource resource, long timeTakenNanos)
      Parameters:
      resource - The resource that triggered the event.
      timeTakenNanos - The time token for the action to be processed in nanoseconds.
  • Method Details

    • getNow

      public Instant getNow()
      Returns:
      The Instant the event was fired.
    • getTimeTakenNanos

      public long getTimeTakenNanos()
      Returns:
      The time token for the action to be processed in nanoseconds.