Interface Consumer<T>

  • Type Parameters:
    T - The type of objects being consumed.
    All Known Implementing Classes:
    AbstractRunnableBlockingQueueConsumer

    public interface Consumer<T>
    An object that consumes other objects.
    Author:
    Garret Wilson
    • Method Detail

      • consume

        void consume​(T object)
        Consumes an object.
        Parameters:
        object - The object to consume.