com.devexperts.qd.kit
Class RecordOnlyFilter
java.lang.Object
com.devexperts.qd.kit.RecordOnlyFilter
- All Implemented Interfaces:
- SubscriptionFilter
public abstract class RecordOnlyFilter
- extends java.lang.Object
- implements SubscriptionFilter
Subscription filter that filters only based on the record name. Any concrete implementation
of this class gets a performance optimization from CompositeFilters
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scheme
protected final DataScheme scheme
RecordOnlyFilter
protected RecordOnlyFilter(DataScheme scheme)
getScheme
public DataScheme getScheme()
acceptRecord
public final boolean acceptRecord(DataRecord record,
int cipher,
java.lang.String symbol)
- Description copied from interface:
SubscriptionFilter
- Determines if specified record shall be processed by corresponding subsystem.
- Specified by:
acceptRecord
in interface SubscriptionFilter
- Returns:
- true if the record should be processed; false if it should be ignored.
acceptRecord
public abstract boolean acceptRecord(DataRecord record)