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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getChannelCount(int nDefault)
Return the channel count the publisher should use.Optional<Converter<V,Binary>>
getConverter()
Return the optional converter to use to serialize values.OptionalLong
getId()
Return the optional publisher identifier.int
getNotifyPostFull(com.tangosol.internal.net.topic.PublisherConnector<V> connector)
Return the value to use for the notification identifier.Publisher.OnFailure
getOnFailure()
Return the on-failure action.Publisher.OrderBy
getOrderBy()
Return thePublisher.OrderBy
option.
-
-
-
Method Detail
-
getOrderBy
public Publisher.OrderBy getOrderBy()
Return thePublisher.OrderBy
option.- Returns:
- the
Publisher.OrderBy
option
-
getNotifyPostFull
public int getNotifyPostFull(com.tangosol.internal.net.topic.PublisherConnector<V> connector)
Return the value to use for the notification identifier.- Parameters:
connector
- thePublisherConnector
the identifier is for- Returns:
- the notification identifier
-
getConverter
public Optional<Converter<V,Binary>> getConverter()
Return the optional converter to use to serialize values.- Returns:
- the optional converter to use to serialize values
-
getOnFailure
public Publisher.OnFailure getOnFailure()
Return the on-failure action.- Returns:
- the on-failure action
-
getId
public OptionalLong 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
-
-