Interface Publisher.Orderable

  • Enclosing interface:
    Publisher<V>

    public static interface Publisher.Orderable
    Orderable represents a value published by Publisher that has a natural ordering.

    Calling Publisher publish methods with values that implement Publisher.Orderable will use the order identifier returned by getOrderId() to determine ordering instead of any ordering configured for the publisher by its Publisher.OrderBy option. This is similar to using the Publisher.OrderByValue option but offers more flexibility over a hard coded publisher option.

    • Method Detail

      • getOrderId

        int getOrderId()