Interface IConsumer<T>
public interface IConsumer<T>
-
Method Summary
-
Method Details
-
init
-
consume
-
onError
-
onExit
default void onExit() -
nothingToConsume
default void nothingToConsume()Notify the implementation, if there is nothing fetched from the queue. This could be used as a timer to trigger reaction if the queue has no element.
-