Package | Description |
---|---|
com.devexperts.qd |
This package contains basic interfaces and other API elements of QD system
which shall be sufficient for the client application programmer.
|
com.devexperts.qd.kit |
This package contains default implementations of various QD components which
do not constitute any separate module or subsystem and which can be easily replaced.
|
com.devexperts.qd.qtp |
This package contains interfaces with default implementations required
to create and operate a connection using QTP.
|
com.devexperts.qd.spi |
Project-specific extension points.
|
com.devexperts.qd.util |
This package contains utility classes which are used by QD, but which do not
depend on QD and which do not constitute any separate module or subsystem.
|
Modifier and Type | Field and Description |
---|---|
static QDFilter |
QDFilter.ANYTHING
Filter that accepts everything.
|
static QDFilter |
QDFilter.NOTHING
Filter that does not accept anything.
|
Modifier and Type | Method and Description |
---|---|
static QDFilter |
QDFilter.fromFilter(SubscriptionFilter filter,
DataScheme scheme)
Converts a legacy
SubscriptionFilter implementation into QDFilter instance. |
QDFilter |
QDFilter.Updated.getFilter()
Returns the most recent version of
dynamic filter. |
QDFilter |
QDDistributor.Builder.getFilter() |
QDFilter |
QDAgent.Builder.getFilter() |
QDFilter |
QDFilter.getUpdatedFilter()
Returns new value of this filter if this is a
dynamic filter that has updated. |
QDFilter |
QDFilter.negate()
Returns negation of this filter.
|
protected QDFilter |
QDFilter.produceUpdatedFilter()
This method is called under
synchronized(this) when fireFilterUpdated
is called with null argument to synchronously produce updated instance of this filter. |
QDFilter |
QDFilter.toStableFilter()
Returns a stable filter that is the same or more encompassing as this filter.
|
QDFilter |
QDFilter.unwrap()
Unwraps filter that wraps another filter for performance reasons only (functionally identical to its delegate).
|
Modifier and Type | Method and Description |
---|---|
void |
QDFilter.UpdateListener.filterUpdated(QDFilter filter)
This method is fired at most once is a lifetime of a
dynamic filter when
it updates. |
void |
QDFilter.Updated.filterUpdated(QDFilter filter)
Invokes
QDFilter.UpdateListener.filterUpdated(QDFilter) on all added listeners. |
protected void |
QDFilter.fireFilterUpdated(QDFilter updatedFilter)
Fires notification about filter update and clears the list of listeners.
|
QDDistributor.Builder |
QDDistributor.Builder.withFilter(QDFilter filter) |
QDAgent.Builder |
QDAgent.Builder.withFilter(QDFilter filter) |
Constructor and Description |
---|
QDFilter(DataScheme scheme,
QDFilter source)
Use this constructor to create an updated instance of dynamic filter.
|
Modifier and Type | Class and Description |
---|---|
class |
NotFilter
Default implementation for
negate() operation. |
class |
PatternFilter
SubscriptionFilter that understands a simple GLOB-like grammar
to specify matching symbols. |
static class |
PatternFilter.RecordPatternFilter |
class |
RecordOnlyFilter
Subscription filter that filters only based on the record name.
|
class |
SymbolSetFilter
Fast filter based on
SymbolSet . |
Modifier and Type | Method and Description |
---|---|
static QDFilter |
CompositeFilters.makeAnd(QDFilter one,
QDFilter two)
Returns new filter that performs logical-and operation on filters.
|
static QDFilter |
CompositeFilters.makeNot(QDFilter filter)
Returns new filter that performs logical-not operation on filters.
|
static QDFilter |
CompositeFilters.makeOr(QDFilter one,
QDFilter two)
Returns new filter that performs logical-or operation on filters.
|
QDFilter |
SymbolSetFilter.negate() |
QDFilter |
RecordOnlyFilter.negate() |
QDFilter |
PatternFilter.negate() |
QDFilter |
NotFilter.negate() |
protected QDFilter |
SymbolSetFilter.produceUpdatedFilter() |
protected QDFilter |
NotFilter.produceUpdatedFilter() |
QDFilter |
SymbolSetFilter.toStableFilter() |
QDFilter |
RecordOnlyFilter.toStableFilter()
This final implementation always returns this.
|
QDFilter |
PatternFilter.toStableFilter() |
QDFilter |
NotFilter.toStableFilter() |
static QDFilter |
CompositeFilters.toStableFilter(SubscriptionFilter filter)
Returns a stable filter that is the same or more encompassing as this filter.
|
QDFilter |
SymbolSetFilter.unwrap() |
static QDFilter |
CompositeFilters.valueOf(String spec,
DataScheme scheme)
Parses filter specification and combines them with project-specific filters defined in the
scheme with ',' (or) operations, '&' (and) operations, and '!' (not) operations. |
static QDFilter |
PatternFilter.valueOf(String pattern,
String name,
DataScheme scheme)
Returns filter with a specified pattern and a project-specific name.
|
static QDFilter |
CompositeFilters.valueOf(String spec,
String name,
DataScheme scheme)
Parses filter specification and attaches project-specific name string to it.
|
Modifier and Type | Method and Description |
---|---|
void |
SymbolSetFilter.filterUpdated(QDFilter filter) |
void |
NotFilter.filterUpdated(QDFilter filter) |
static QDFilter |
CompositeFilters.makeAnd(QDFilter one,
QDFilter two)
Returns new filter that performs logical-and operation on filters.
|
static QDFilter |
CompositeFilters.makeNot(QDFilter filter)
Returns new filter that performs logical-not operation on filters.
|
static QDFilter |
CompositeFilters.makeOr(QDFilter one,
QDFilter two)
Returns new filter that performs logical-or operation on filters.
|
Constructor and Description |
---|
NotFilter(QDFilter delegate) |
SymbolSetFilter(QDFilter delegate) |
Modifier and Type | Field and Description |
---|---|
protected QDFilter |
MessageAdapter.AbstractFactory.filter |
Modifier and Type | Method and Description |
---|---|
QDFilter |
MessageAdapter.AbstractFactory.getFilter()
Returns current filter of this factory.
|
QDFilter |
ChannelShaper.getSubscriptionFilter()
Returns subscription filter currently used by the channel.
|
Modifier and Type | Method and Description |
---|---|
void |
DynamicChannelShaper.filterUpdated(QDFilter filter) |
void |
DistributorAdapter.filterUpdated(QDFilter filter) |
void |
DynamicChannelShaper.setSubscriptionFilter(QDFilter subscriptionFilter) |
void |
ChannelShaper.setSubscriptionFilter(QDFilter subscriptionFilter)
Sets subscription filter for the channel.
|
Constructor and Description |
---|
DynamicChannelShaper(QDContract contract,
Executor subscriptionExecutor,
QDFilter subscriptionFilter) |
Modifier and Type | Method and Description |
---|---|
abstract QDFilter |
QDFilterFactory.createFilter(String spec)
Creates custom project-specific filter based on the specification string.
|
QDFilter |
QDFilterFactory.createFilter(String spec,
QDFilterContext context)
Creates custom project-specific filter based on the specification string in the specified context.
|
Modifier and Type | Method and Description |
---|---|
void |
SymbolSet.retainAll(QDFilter filter) |
Copyright © 2002-2018 Devexperts LLC. All Rights Reserved.