Package io.micronaut.crac
Class GlobalCracContextProvider
java.lang.Object
io.micronaut.crac.GlobalCracContextProvider
- All Implemented Interfaces:
CracContextProvider
Gets a Global Context through
Core.getGlobalContext()
.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GlobalCracContextProvider
public GlobalCracContextProvider()
-
-
Method Details
-
provideContext
@NonNull public @NonNull org.crac.Context<org.crac.Resource> provideContext()- Specified by:
provideContext
in interfaceCracContextProvider
- Returns:
- Gets the Context for checkpoint/restore notifications.
-