Package com.tangosol.net.topic
Interface Publisher.Orderable
-
public static interface Publisher.Orderable
Orderable represents a value published byPublisher
that has a natural ordering.Calling
Publisher
publish methods with values that implementPublisher.Orderable
will use the order identifier returned bygetOrderId()
to determine ordering instead of any ordering configured for the publisher by itsPublisher.OrderBy
option. This is similar to using thePublisher.OrderByValue
option but offers more flexibility over a hard coded publisher option.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getOrderId()
-