| Package | Description |
|---|---|
| com.feedzai.commons.sql.abstraction.batch |
Contains a batch to periodically flushes to the database.
|
| com.feedzai.commons.sql.abstraction.batch.impl | |
| com.feedzai.commons.sql.abstraction.engine |
Contains the database engine core.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBatchConfig<PB extends PdbBatch,SELF extends AbstractBatchConfig<PB,SELF>>
Abstract configuration for
PdbBatch implementations, containing common properties. |
| Constructor and Description |
|---|
AbstractBatch(DatabaseEngine de,
BatchConfig<?> config)
Creates a new instance of
AbstractBatch. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultBatchConfig
Configuration for
DefaultBatch. |
class |
MultithreadedBatchConfig
Configuration for
MultithreadedBatch. |
| Modifier and Type | Method and Description |
|---|---|
<PB extends PdbBatch> |
AbstractDatabaseEngine.createBatch(BatchConfig<PB> batchConfig) |
default <PB extends PdbBatch> |
DatabaseEngine.createBatch(BatchConfig<PB> batchConfig)
Creates a new
PdbBatch to which entries can be added; it then flushes those entries to the database,
periodically on a set timeout, or when a maximum number of entries has been reached. |
Copyright © 2023 Feedzai. All rights reserved.