Package com.tangosol.net.topic
Class Publisher.OptionSet<V>
java.lang.Object
com.oracle.coherence.common.util.Options<Publisher.Option>
com.tangosol.net.topic.Publisher.OptionSet<V>
- Type Parameters:
V- the type of value in the underlying topic
public static class Publisher.OptionSet<V>
extends com.oracle.coherence.common.util.Options<Publisher.Option>
A holder of publisher options.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.coherence.common.util.Options
com.oracle.coherence.common.util.Options.Default -
Method Summary
Modifier and TypeMethodDescriptionintgetChannelCount(int nDefault) Return the channel count the publisher should use.Return the optional converter to use to serialize values.getId()Return the optional publisher identifier.intgetNotifyPostFull(com.tangosol.internal.net.topic.PublisherConnector<V> connector) Return the value to use for the notification identifier.Return the on-failure action.Return thePublisher.OrderByoption.Methods inherited from class com.oracle.coherence.common.util.Options
asArray, contains, contains, empty, from, get, get, getDefaultFor, getInstancesOf, ifPresent, ifPresent, toString
-
Method Details
-
getOrderBy
Return thePublisher.OrderByoption.- Returns:
- the
Publisher.OrderByoption
-
getNotifyPostFull
Return the value to use for the notification identifier.- Parameters:
connector- thePublisherConnectorthe identifier is for- Returns:
- the notification identifier
-
getConverter
Return the optional converter to use to serialize values.- Returns:
- the optional converter to use to serialize values
-
getOnFailure
Return the on-failure action.- Returns:
- the on-failure action
-
getId
Return the optional publisher identifier.- Returns:
- the optional publisher identifier
-
getChannelCount
public int getChannelCount(int nDefault) Return the channel count the publisher should use.- Parameters:
nDefault- the default channel count- Returns:
- the channel count the publisher should use
-