| Package | Description |
|---|---|
| com.feedzai.commons.sql.abstraction.batch |
Contains a batch to periodically flushes to the database.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultBatch |
DefaultBatch.create(DatabaseEngine de,
java.lang.String name,
int batchSize,
long batchTimeout,
long maxAwaitTimeShutdown)
Creates a new instance of
DefaultBatch. |
static DefaultBatch |
DefaultBatch.create(DatabaseEngine de,
java.lang.String name,
int batchSize,
long batchTimeout,
long maxAwaitTimeShutdown,
FailureListener listener)
Creates a new instance of
DefaultBatch with a FailureListener. |
static DefaultBatch |
DefaultBatch.create(DatabaseEngine de,
java.lang.String name,
int batchSize,
long batchTimeout,
long maxAwaitTimeShutdown,
FailureListener listener,
int maxFlushRetries,
long flushRetryDelay)
Creates a new instance of
DefaultBatch with a FailureListener. |
Copyright © 2018 Feedzai. All Rights Reserved.