Class StallingBatchInterceptor
java.lang.Object
io.fluxcapacitor.javaclient.tracking.StallingBatchInterceptor
- All Implemented Interfaces:
BatchInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanintercept(Consumer<MessageBatch> consumer, Tracker tracker) protected voidstall()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.tracking.BatchInterceptor
andThen, shutdown
-
Constructor Details
-
StallingBatchInterceptor
public StallingBatchInterceptor()
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceBatchInterceptor
-
hasPassedDeadline
protected boolean hasPassedDeadline() -
stall
protected void stall()
-