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
Enclosing interface:
Publisher<V>

public static class Publisher.OptionSet<V> extends com.oracle.coherence.common.util.Options<Publisher.Option>
A holder of publisher options.
  • Method Details

    • getOrderBy

      public Publisher.OrderBy getOrderBy()
      Return the Publisher.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 - the PublisherConnector 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