public class Corridor extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG_ENABLED |
protected static Log |
log |
Constructor and Description |
---|
Corridor(String securityDescription,
int corridorQueueSize,
OverflowListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getEntriesCount() |
int |
getEventsCount() |
boolean |
haveEvents() |
boolean |
haveIncrements() |
boolean |
haveOtherMessages() |
boolean |
haveSnapshot() |
boolean |
isProcessing() |
void |
lock() |
GroupEntry |
popEntry() |
InstrumentEvent |
popEvent() |
FIXFieldList |
popOtherMessage() |
FIXFieldList |
popSnapshot() |
void |
pushEvent(InstrumentEvent event) |
void |
pushGroupEntry(GroupEntry entry) |
void |
resetOtherMessage(FIXFieldList otherMessage) |
void |
resetSnapshot(FIXFieldList snapshot) |
void |
setChannelID(String channelID) |
void |
startProcessing() |
void |
stopProcessing() |
void |
unlock() |
protected static final Log log
public static final boolean DEBUG_ENABLED
public Corridor(String securityDescription, int corridorQueueSize, OverflowListener listener)
public void stopProcessing()
public void startProcessing()
public boolean isProcessing()
public void pushGroupEntry(GroupEntry entry)
public int getEntriesCount()
public boolean haveIncrements()
public GroupEntry popEntry()
public void clear()
public void lock() throws InterruptedException
InterruptedException
public void unlock() throws InterruptedException
InterruptedException
public void setChannelID(String channelID)
public void resetOtherMessage(FIXFieldList otherMessage)
public boolean haveOtherMessages()
public FIXFieldList popOtherMessage()
public void resetSnapshot(FIXFieldList snapshot)
public boolean haveSnapshot()
public FIXFieldList popSnapshot()
public int getEventsCount()
public boolean haveEvents()
public InstrumentEvent popEvent()
public void pushEvent(InstrumentEvent event)
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.