|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.devexperts.qd.logger.BufferedObject
com.devexperts.qd.logger.BufferedSubscriptionVisitor
public class BufferedSubscriptionVisitor
Field Summary |
---|
Fields inherited from class com.devexperts.qd.logger.BufferedObject |
---|
sb |
Constructor Summary | |
---|---|
BufferedSubscriptionVisitor(SubscriptionVisitor delegate,
DataScheme scheme)
|
Method Summary | |
---|---|
boolean |
hasCapacity()
Returns whether visitor has capacity to efficiently visit next record. |
void |
visitRecord(DataRecord record,
int cipher,
java.lang.String symbol,
long time)
Visits next record. |
Methods inherited from class com.devexperts.qd.logger.BufferedObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BufferedSubscriptionVisitor(SubscriptionVisitor delegate, DataScheme scheme)
Method Detail |
---|
public boolean hasCapacity()
SubscriptionVisitor
NOTE: subscription visitor must process all subscription that is passed to it via visitXXX calls no matter whether it has capacity to do it efficiently.
hasCapacity
in interface SubscriptionVisitor
public void visitRecord(DataRecord record, int cipher, java.lang.String symbol, long time)
SubscriptionVisitor
visitRecord
in interface SubscriptionVisitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |