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 @NotNull AsyncDatabase |
Mystral.newAsyncDatabase(@NotNull Credentials credentials,
@NotNull Executor executor)
Creates a new AsyncDatabase with the given Credentials and an Executor implementation.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
DataSourceUtils.closePool(@Nullable AsyncDatabase asyncDatabase) |
Copyright © 2021. All rights reserved.