Interface ICoalescer<T>

All Known Implementing Classes:
AbstractReduceToLastCoalescer, BookmarkNotificationCoalescer, InvalidateCacheNotificationCoalescer, SharedContextNotificationCoalescer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @ApplicationScoped public interface ICoalescer<T>
Every implementation of this interface can be applied to coalesce objects of the same super class (generic type of this class).
  • Method Summary

    Modifier and Type
    Method
    Description
    coalesce(List<T> data)
     
  • Method Details

    • coalesce

      List<T> coalesce(List<T> data)
      Parameters:
      data - all objects to coalesce. Ordered, such that new data is inserted at the end of the list
      Returns:
      a coalesced result. Never null.