Package com.tangosol.net.topic
Contains classes that providing topic entities for publish/subscribe messaging.
- Since:
- 14.1.1
-
Interface Summary Interface Description NamedTopic<V> NamedTopic represents a topic entity for publish/subscribe messaging.NamedTopic.ElementCalculator A unit calculator is an object that can calculate the cost of storing an element in a topic.Position An opaque representation of the position of an element within a channel of a topic.Publisher<V> Publisher provides a means to publish values to theNamedTopic.Publisher.Option<V> A marker interface to indicate that a class is a validPublisher.Optionfor aPublisher.Publisher.Orderable Orderable represents a value published byPublisherthat has a natural ordering.Publisher.Status The status for a successfully published element.Subscriber<V> Subscriber.Channel A representation of a topic channel within subscriber.Subscriber.ChannelOwnershipListener A listener that receives notification of channel ownership changes.Subscriber.Element<V> Element represents a container for returned values.Subscriber.Id A marker interface forSubscriberidentifiers.Subscriber.Option<V,U> A marker interface to indicate that a class is a validSubscriber.Optionfor aSubscriber.TopicDependencies The dependencies for a topic. -
Class Summary Class Description BinaryElementCalculator ANamedTopic.ElementCalculatorthat calculates size of an element based on the size of the serialized binary value.FixedElementCalculator A fixed implementation of aNamedTopic.ElementCalculatorthat gives all elements a size of 1.Publisher.FailOnFull The FailOnFull option indicates that theCompletableFuturereturned from thePublisher.publish(V)operation should complete exceptionally upon identifying that the topic is or has become full.Publisher.OrderBy<V> The OrderBy option specifies the ordering of async operations with respect to one another.Publisher.OrderById<V> Publisher.OrderByoption ensures ordering ofsent valuesacross all threads which share the sameorderId.Publisher.OrderByNone<V> Publisher.OrderByoption enforces no specific ordering betweensent valuesallowing for the greatest level of parallelism.Publisher.OrderByRoundRobin<V> Publisher.OrderByoption which computes the unit-of-order such that each message is sent to the next channel in a round-robin order.Publisher.OrderByThread<V> Publisher.OrderByoption which ensures that a sequence ofsent valuesissued by a single thread will complete in order.Publisher.OrderByValue<V> Publisher.OrderByoption which computes the unit-of-order based on applyingconstructor'sorderIdFunction parameteronsent value.Subscriber.Channel.EmptyChannel A default empty channel implementation.Subscriber.ChannelOwnershipListeners<V> A subscriberSubscriber.Optionthat allows one or morelistenersto be added to the subscriber, that will be notified of changes to the subscribers channel ownership.Subscriber.CommitResult The result of a commit request.Subscriber.CompleteOnEmpty<V> The CompleteOnEmpty option indicates that theCompletableFuturereturned from theSubscriber.receive()operation should complete with a nullSubscriber.Elementupon identifying that the topic is or has become empty.Subscriber.Convert<V,U> The Convert option specifies aValueExtractorthat will convert topic values that a subscriber is interested in receiving prior to sending them to the subscriber.Subscriber.Filtered<V> The Filtered option specifies a filter that will determine which topic values a subscriber is interested in receiving.Subscriber.Name<V> The Name option is used to specify a subscriber group name.TopicBackingMapManager<D extends TopicDependencies,S extends NamedTopicScheme> A base class for topic backing map managers. -
Enum Summary Enum Description Publisher.OnFailure This option controls how aPublisherhandles a failure of an individualPublisher.publish(V)call.Subscriber.CommitResultStatus The different result statuses for a commit request. -
Exception Summary Exception Description TopicException A exception that occurred during an operation on aNamedTopic.TopicPublisherException An exception that occurred during publishing of a message on a topic.