HikariCheckpointRestoreLifecycle

constructor(dataSource: DataSource, applicationContext: ConfigurableApplicationContext)

Creates a new HikariCheckpointRestoreLifecycle that will allow the given dataSource to participate in checkpoint-restore. The dataSource is unwrapped to a HikariDataSource. If such unwrapping is not possible, the lifecycle will have no effect.

Since

3.4.0

Parameters

dataSource

the checkpoint-restore participant

applicationContext

the application context


constructor(dataSource: DataSource)

Deprecated (for removal)

Since version 3.4.0

Creates a new HikariCheckpointRestoreLifecycle that will allow the given dataSource to participate in checkpoint-restore. The dataSource is unwrapped to a HikariDataSource. If such unwrapping is not possible, the lifecycle will have no effect.

Deprecated

since 3.4.0 for removal in 3.6.0 in favor of HikariCheckpointRestoreLifecycle

Parameters

dataSource

the checkpoint-restore participant