Uses of Interface
com.feedzai.commons.sql.abstraction.listeners.BatchListener
-
Packages that use BatchListener Package Description com.feedzai.commons.sql.abstraction.batch Contains a batch to periodically flushes to the database.com.feedzai.commons.sql.abstraction.engine Contains the database engine core. -
-
Uses of BatchListener in com.feedzai.commons.sql.abstraction.batch
Fields in com.feedzai.commons.sql.abstraction.batch with type parameters of type BatchListener Modifier and Type Field Description protected Optional<BatchListener>AbstractBatch. batchListenerThe listener for customized behavior when this batch succeeds or fails to persist data.Methods in com.feedzai.commons.sql.abstraction.batch that return BatchListener Modifier and Type Method Description static BatchListenerAbstractBatch. convertToBatchListener(FailureListener failureListener)Deprecated.TheFailureListeneris deprecated and this method will be removed once it is removed.Methods in com.feedzai.commons.sql.abstraction.batch with parameters of type BatchListener Modifier and Type Method Description static DefaultBatchDefaultBatch. create(DatabaseEngine de, String name, int batchSize, long batchTimeout, long maxAwaitTimeShutdown, BatchListener listener)Creates a new instance ofDefaultBatchwith aBatchListener.static DefaultBatchDefaultBatch. create(DatabaseEngine de, String name, int batchSize, long batchTimeout, long maxAwaitTimeShutdown, BatchListener listener, int maxFlushRetries, long flushRetryDelay)Creates a new instance ofDefaultBatchwith aBatchListener.Constructors in com.feedzai.commons.sql.abstraction.batch with parameters of type BatchListener Constructor Description AbstractBatch(DatabaseEngine de, String name, int batchSize, long batchTimeout, long maxAwaitTimeShutdown, BatchListener batchListener)Creates a new instance ofAbstractBatchwith aBatchListener.AbstractBatch(DatabaseEngine de, String name, int batchSize, long batchTimeout, long maxAwaitTimeShutdown, BatchListener batchListener, int maxFlushRetries, long flushRetryDelay)Creates a new instance ofAbstractBatchwith aBatchListener.DefaultBatch(DatabaseEngine de, String name, int batchSize, long batchTimeout, long maxAwaitTimeShutdown, BatchListener listener)Creates a new instance ofDefaultBatch.DefaultBatch(DatabaseEngine de, String name, int batchSize, long batchTimeout, long maxAwaitTimeShutdown, BatchListener listener, int maxFlushRetries, long flushRetryDelay)Creates a new instance ofDefaultBatch. -
Uses of BatchListener in com.feedzai.commons.sql.abstraction.engine
Methods in com.feedzai.commons.sql.abstraction.engine with parameters of type BatchListener Modifier and Type Method Description AbstractBatchAbstractDatabaseEngine. createBatch(int batchSize, long batchTimeout, String batchName, BatchListener batchListener)default AbstractBatchDatabaseEngine. createBatch(int batchSize, long batchTimeout, String batchName, BatchListener batchListener)Creates a new batch that periodically flushes a batch.
-