Class HikariDataSourceResource

java.lang.Object
io.micronaut.crac.resources.datasources.HikariDataSourceResource
All Implemented Interfaces:
org.crac.Resource

public class HikariDataSourceResource extends Object implements org.crac.Resource
Handler for Hikari DataSources.
Since:
1.1.0
Author:
Tim Yates
  • Constructor Details

    • HikariDataSourceResource

      public HikariDataSourceResource(com.zaxxer.hikari.HikariDataSource dataSource, CracConfiguration configuration)
  • Method Details

    • beforeCheckpoint

      public void beforeCheckpoint(org.crac.Context<? extends org.crac.Resource> context) throws Exception
      Specified by:
      beforeCheckpoint in interface org.crac.Resource
      Throws:
      Exception
    • afterRestore

      public void afterRestore(org.crac.Context<? extends org.crac.Resource> context) throws Exception
      Specified by:
      afterRestore in interface org.crac.Resource
      Throws:
      Exception