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.
|
boolean |
hasEventTimeSequence()
Returns true if collector should process event time sequence.
|
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.
|
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> copyFrom(QDCollector.Builder<?> other)
T build()
Copyright © 2002-2020 Devexperts LLC. All Rights Reserved.