Interface Messages<T>

Type Parameters:
T -
All Superinterfaces:
Iterable<Message<T>>

@Public @Stable public interface Messages<T> extends Iterable<Message<T>>
A container that holds the list Message for a topic.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get number of messages.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • size

      int size()
      Get number of messages.