Class OrderedCracResourceRegistrar

java.lang.Object
io.micronaut.crac.OrderedCracResourceRegistrar
All Implemented Interfaces:
CracResourceRegistrar

@Singleton public class OrderedCracResourceRegistrar extends Object implements CracResourceRegistrar
Registers all defined Resources for Coordinated Restore at Checkpoint.
Since:
1.0.0
Author:
Tim Yates
  • Constructor Details

    • OrderedCracResourceRegistrar

      public OrderedCracResourceRegistrar(List<OrderedResource> resources, CracContextProvider contextProvider)
      Collects together all available CRaC resources in the order specified.
      Parameters:
      resources - The ordered registered CRaC resources
      contextProvider - CRaC context provider
  • Method Details