Interface ValueConsumer<T>

Type Parameters:
T - The type of the value to consume.
All Known Implementing Classes:
ValueQueueService

public interface ValueConsumer<T>
Consumes values set via the value property. Implementations will generally be a service that does something with each value as they are set.
Author:
rob
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setValue(T value)
    Accept a value.
  • Method Details

    • setValue

      void setValue(T value)
      Accept a value.
      Parameters:
      value - The value. This should not be null.