Class HikariDataSourceResource
java.lang.Object
io.micronaut.crac.resources.datasources.HikariDataSourceResource
- All Implemented Interfaces:
org.crac.Resource
Handler for Hikari DataSources.
- Since:
- 1.1.0
- Author:
- Tim Yates
-
Constructor Summary
ConstructorDescriptionHikariDataSourceResource
(com.zaxxer.hikari.HikariDataSource dataSource, CracConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterRestore
(org.crac.Context<? extends org.crac.Resource> context) void
beforeCheckpoint
(org.crac.Context<? extends org.crac.Resource> context)
-
Constructor Details
-
HikariDataSourceResource
public HikariDataSourceResource(com.zaxxer.hikari.HikariDataSource dataSource, CracConfiguration configuration)
-
-
Method Details