Package | Description |
---|---|
com.glyart.mystral.database |
Contains the implementations of the main functionalities of this library.
|
com.glyart.mystral.datasource |
Contains some utilities for managing
DataSource objects. |
Modifier and Type | Method and Description |
---|---|
static <T extends DataSource> |
Mystral.newAsyncDatabase(@NotNull DataSourceFactory<T> factory,
@NotNull Executor executor)
Creates a new AsyncDatabase with the given DataSourceFactory and an Executor implementation.
|
static <T extends DataSource> |
Mystral.newDatabase(@NotNull DataSourceFactory<T> factory)
Creates a new Database with the given DataSourceFactory.
|
Modifier and Type | Class and Description |
---|---|
class |
HikariFactory
This class represents a component that lazily initializes a
HikariDataSource . |
Copyright © 2021. All rights reserved.