Package deltix.qsrv.hf.tickdb.pub.topic
Class TopicChannelPreferences<T extends TopicChannelPreferences>
- java.lang.Object
-
- deltix.data.stream.ChannelPreferences
-
- deltix.qsrv.hf.tickdb.pub.topic.TopicChannelPreferences<T>
-
- Direct Known Subclasses:
ConsumerPreferences,PublisherPreferences
public abstract class TopicChannelPreferences<T extends TopicChannelPreferences> extends ChannelPreferences
Base class for fluent-style API for setting up topic channel preferences.
-
-
Field Summary
-
Fields inherited from class deltix.data.stream.ChannelPreferences
channelPerformance, raw, typeLoader
-
-
Constructor Summary
Constructors Constructor Description TopicChannelPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcopyFrom(ChannelPreferences channelPreferences)Populates this object with values from providedChannelPreferences.IdleStrategygetEffectiveIdleStrategy(IdleStrategy idleStrategy)DeterminesIdleStrategyto be used for this channel (if applicable).TsetChannelPerformance(ChannelPerformance channelPerformance)TsetRaw(boolean raw)TsetTypeLoader(TypeLoader typeLoader)-
Methods inherited from class deltix.data.stream.ChannelPreferences
getChannelPerformance, getTypeLoader
-
-
-
-
Method Detail
-
setRaw
public T setRaw(boolean raw)
- Parameters:
raw- input message type (truemeansRawMessage
-
setTypeLoader
public T setTypeLoader(TypeLoader typeLoader)
- Parameters:
typeLoader- type loader to be used for message
-
setChannelPerformance
public T setChannelPerformance(ChannelPerformance channelPerformance)
-
copyFrom
public T copyFrom(ChannelPreferences channelPreferences)
Populates this object with values from providedChannelPreferences.
-
getEffectiveIdleStrategy
@Nonnull public IdleStrategy getEffectiveIdleStrategy(@Nullable IdleStrategy idleStrategy)
DeterminesIdleStrategyto be used for this channel (if applicable). If a non-nullIdleStrategyprovided as a parameter then it is returned as is. OtherwiseIdleStrategyis determined byChannelPreferences.channelPerformance.
-
-