Uses of Class
org.jeasy.batch.core.record.Batch
-
Packages that use Batch Package Description org.jeasy.batch.core.listener This package contains listeners API.org.jeasy.batch.core.writer This package contains built-in implementations of theRecordWriter
interface. -
-
Uses of Batch in org.jeasy.batch.core.listener
Methods in org.jeasy.batch.core.listener with parameters of type Batch Modifier and Type Method Description default void
BatchListener. afterBatchProcessing(Batch<P> batch)
Executed after processing each batch.void
CompositeBatchListener. afterBatchProcessing(Batch<P> batch)
default void
BatchListener. afterBatchWriting(Batch<P> batch)
Executed after successfully writing each batch.void
CompositeBatchListener. afterBatchWriting(Batch<P> batch)
void
CompositeRecordWriterListener. afterRecordWriting(Batch<P> batch)
default void
RecordWriterListener. afterRecordWriting(Batch<P> batch)
Called after writing each batch of records.void
CompositeRecordWriterListener. beforeRecordWriting(Batch<P> batch)
default void
RecordWriterListener. beforeRecordWriting(Batch<P> batch)
Called before writing each batch of records.default void
BatchListener. onBatchWritingException(Batch<P> batch, java.lang.Throwable throwable)
Executed when an error occurs during writing each batch.void
CompositeBatchListener. onBatchWritingException(Batch<P> batch, java.lang.Throwable throwable)
void
CompositeRecordWriterListener. onRecordWritingException(Batch<P> batch, java.lang.Throwable throwable)
default void
RecordWriterListener. onRecordWritingException(Batch<P> batch, java.lang.Throwable throwable)
Called when an exception occurs during batch writing. -
Uses of Batch in org.jeasy.batch.core.writer
Methods in org.jeasy.batch.core.writer with parameters of type Batch Modifier and Type Method Description void
BlockingQueueRecordWriter. writeRecords(Batch<P> batch)
void
CollectionRecordWriter. writeRecords(Batch<P> batch)
void
CompositeRecordWriter. writeRecords(Batch<P> batch)
void
FileRecordWriter. writeRecords(Batch<java.lang.String> batch)
void
RecordWriter. writeRecords(Batch<P> batch)
Write a batch of records to a data sink.void
RetryableRecordWriter. writeRecords(Batch<P> batch)
void
StandardErrorRecordWriter. writeRecords(Batch<P> batch)
void
StandardOutputRecordWriter. writeRecords(Batch<P> batch)
void
StringRecordWriter. writeRecords(Batch<P> batch)
-