Interface BatchInterceptor
-
- All Known Subinterfaces:
TransactionManager
- All Known Implementing Classes:
CacheInvalidatingInterceptor,FluxCapacitorInterceptor,TrackerMonitor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BatchInterceptor
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Consumer<MessageBatch>intercept(Consumer<MessageBatch> consumer, Tracker tracker)static BatchInterceptorjoin(List<BatchInterceptor> interceptors)default BatchInterceptormerge(BatchInterceptor nextInterceptor)
-
-
-
Method Detail
-
intercept
Consumer<MessageBatch> intercept(Consumer<MessageBatch> consumer, Tracker tracker)
-
merge
default BatchInterceptor merge(BatchInterceptor nextInterceptor)
-
join
static BatchInterceptor join(List<BatchInterceptor> interceptors)
-
-