|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QDDistributor
The QDDistributor
represents an individual data provider in the QDCollector
.
It is responsible for tracking state of the provider in the collector,
including its total subscription, and to provide access point for that provider.
Method Summary | |
---|---|
void |
close()
Closes this distributor and releases allocated resources in its QDCollector . |
SubscriptionProvider |
getAddedSubscriptionProvider()
Returns subscription provider that is used to accumulate added subscription. |
SubscriptionProvider |
getRemovedSubscriptionProvider()
Returns subscription provider that is used to accumulate removed subscription. |
Methods inherited from interface com.devexperts.qd.DataConsumer |
---|
processData |
Methods inherited from interface com.devexperts.qd.stats.QDStatsContainer |
---|
getStats |
Method Detail |
---|
SubscriptionProvider getAddedSubscriptionProvider()
SubscriptionProvider getRemovedSubscriptionProvider()
void close()
QDCollector
.
Closed distributor can not be activated again and shall not be used anymore.
The behavior of closed distributor with respect to different actions is undefined, but is guaranteed
to be safe, that is, it will not produce any exceptions or disruptive behavior. In particular, repeated
calls to close
will not produce any further changes to its state.
Methods like processData
may continue to work or may result in no action
depending on implementation. Subscription retrieval may continue to work or may retrieve no subscription.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |