Package io.micronaut.crac.events
Class AfterRestoreEvent
java.lang.Object
java.util.EventObject
io.micronaut.crac.events.AfterRestoreEvent
- All Implemented Interfaces:
Serializable
An event fired after a CRaC checkpoint is restored.
- Since:
- 1.0.0
- Author:
- Tim Yates
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AfterRestoreEvent
- Parameters:
resource
- The resource that triggered the event.timeTakenNanos
- The time token for the action to be processed in nanoseconds.
-
-
Method Details
-
getNow
- Returns:
- The
Instant
the event was fired.
-
getTimeTakenNanos
public long getTimeTakenNanos()- Returns:
- The time token for the action to be processed in nanoseconds.
-