public class DefaultBatch extends AbstractBatch
AbstractBatch| Modifier | Constructor and Description |
|---|---|
protected |
DefaultBatch(DatabaseEngine de,
int batchSize,
long batchTimeout)
Creates a new instance of
DefaultBatch. |
| Modifier and Type | Method and Description |
|---|---|
static DefaultBatch |
create(DatabaseEngine de,
int batchSize,
long batchTimeout)
Creates a new instance of
DefaultBatch. |
add, add, destroy, finalize, flush, onFlushFailure, run, startcancel, scheduledExecutionTimeprotected DefaultBatch(DatabaseEngine de, int batchSize, long batchTimeout)
DefaultBatch.de - The database engine reference.batchSize - The batch size.batchTimeout - The timeout.public static DefaultBatch create(DatabaseEngine de, int batchSize, long batchTimeout)
Creates a new instance of DefaultBatch.
Starts the timertask.
de - The database engine.batchSize - The batch size.batchTimeout - The batch timeout.Copyright © 2013. All Rights Reserved.