@Beta public class JdbcDataStoreFactory extends Object implements ExternalDataStoreFactory<DataSource>
DataSource.
Implementation is based on HikariDataSource. ExternalDataStoreConfig.getProperties() are passed directly
to HikariConfig. For available options see
HikariCP configuration
| Constructor and Description |
|---|
JdbcDataStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataStore()
Returns configured data store.
|
void |
init(ExternalDataStoreConfig config)
Initialize factory with the config
|
public void init(ExternalDataStoreConfig config)
ExternalDataStoreFactoryinit in interface ExternalDataStoreFactory<DataSource>config - configuration of the given datastorepublic DataSource getDataStore()
ExternalDataStoreFactorygetDataStore in interface ExternalDataStoreFactory<DataSource>Copyright © 2022 Hazelcast, Inc.. All rights reserved.