public static interface QDCollector.Builder<T extends QDCollector>
Modifier and Type | Method and Description |
---|---|
T |
build()
Builds collector and cast it to needful type.
|
QDCollector.Builder<T> |
copyFrom(QDCollector.Builder<?> other)
Copies properties from others.
|
QDContract |
getContract()
Returns collector's contract.
|
HistorySubscriptionFilter |
getHistoryFilter()
Returns specified history filter or
null if no filter is specified. |
DataScheme |
getScheme()
Returns specified scheme.
|
QDStats |
getStats()
Returns specified stats.
|
SubscriptionFilter |
getStoreEverythingFilter()
Returns filter to be used for "story everything" feature.
|
SymbolStriper |
getStriper()
Returns symbol striper for collector.
|
boolean |
hasEventTimeSequence()
Returns true if collector should process event time sequence.
|
boolean |
isStoreEverything()
Returns true if collector should work in "story everything" mode.
|
QDCollector.Builder<T> |
withEventTimeSequence(boolean withEventTimeSequence)
Specifies should collector process event time sequence or not.
|
QDCollector.Builder<T> |
withHistoryFilter(HistorySubscriptionFilter historyFilter)
Adds history filter to collector builder.
|
QDCollector.Builder<T> |
withScheme(DataScheme scheme)
Adds scheme to collector builder.
|
QDCollector.Builder<T> |
withStats(QDStats stats)
Adds stats to collector builder.
|
QDCollector.Builder<T> |
withStoreEverything(boolean storeEverything)
Specifies if collector should work in "story everything" mode.
|
QDCollector.Builder<T> |
withStoreEverythingFilter(SubscriptionFilter filter)
Specifies filter to be used for "story everything" feature.
|
QDCollector.Builder<T> |
withStriper(SymbolStriper striper)
Specifies symbol striper to be used for collector.
|
QDContract getContract()
QDCollector.Builder<T> withScheme(DataScheme scheme)
DataScheme getScheme()
default scheme
will be returned.QDCollector.Builder<T> withStats(QDStats stats)
QDStats getStats()
default stats implementation
will be
created and returned.QDCollector.Builder<T> withHistoryFilter(HistorySubscriptionFilter historyFilter)
HistorySubscriptionFilter getHistoryFilter()
null
if no filter is specified.QDCollector.Builder<T> withEventTimeSequence(boolean withEventTimeSequence)
boolean hasEventTimeSequence()
QDCollector.Builder<T> withStoreEverything(boolean storeEverything)
boolean isStoreEverything()
QDCollector.Builder<T> withStoreEverythingFilter(SubscriptionFilter filter)
SubscriptionFilter getStoreEverythingFilter()
QDCollector.Builder<T> withStriper(SymbolStriper striper)
SymbolStriper getStriper()
stable
.QDCollector.Builder<T> copyFrom(QDCollector.Builder<?> other)
T build()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.