public class HikariDataSourceResource
extends java.lang.Object
implements org.crac.Resource
| Constructor and Description |
|---|
HikariDataSourceResource(com.zaxxer.hikari.HikariDataSource dataSource,
CracConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRestore(org.crac.Context<? extends org.crac.Resource> context) |
void |
beforeCheckpoint(org.crac.Context<? extends org.crac.Resource> context) |
public HikariDataSourceResource(com.zaxxer.hikari.HikariDataSource dataSource,
CracConfiguration configuration)
public void beforeCheckpoint(org.crac.Context<? extends org.crac.Resource> context)
throws java.lang.Exception
beforeCheckpoint in interface org.crac.Resourcejava.lang.Exceptionpublic void afterRestore(org.crac.Context<? extends org.crac.Resource> context)
throws java.lang.Exception
afterRestore in interface org.crac.Resourcejava.lang.Exception