Package io.resys.thena.datasource
Interface ThenaSqlDataSource
- All Superinterfaces:
ThenaDataSource
- All Known Implementing Classes:
ThenaSqlDataSourceImpl
SQL pool and client wrapper
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault ThenaSqlClientgetPool()getTx()booleanwithTenant(Tenant tenant) withTx(ThenaSqlClient tx) Methods inherited from interface io.resys.thena.datasource.ThenaDataSource
getTenant, getTenantContext, isLocked
-
Method Details
-
withTenant
- Specified by:
withTenantin interfaceThenaDataSource
-
withTx
-
getPool
ThenaSqlClient.ThenaSqlPool getPool() -
getTx
Optional<ThenaSqlClient> getTx() -
getClient
-
isTenantLoaded
boolean isTenantLoaded()- Specified by:
isTenantLoadedin interfaceThenaDataSource
-
getRegistry
TenantContext getRegistry() -
getErrorHandler
ThenaSqlDataSourceErrorHandler getErrorHandler() -
getTenantCache
ThenaSqlDataSource.TenantCache getTenantCache()
-