biz.onixs.fix.engine
Class MemoryOutQueue
java.lang.Object
biz.onixs.fix.engine.AbstractOutQueue
biz.onixs.fix.engine.MemoryOutQueue
- All Implemented Interfaces:
- OutQueue
public class MemoryOutQueue
- extends AbstractOutQueue
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryOutQueue
public MemoryOutQueue()
setQueueBufSize
public void setQueueBufSize(int queueBufSize)
- Specified by:
setQueueBufSize
in interface OutQueue
- Overrides:
setQueueBufSize
in class AbstractOutQueue
offer
public boolean offer(NumberedRawMsg msg,
long timeout,
TimeUnit unit)
put
public void put(List<NumberedRawMsg> msgs)
offer
public boolean offer(List<NumberedRawMsg> msgs)
offer
public boolean offer(NumberedRawMsg msg)
put
public void put(NumberedRawMsg msg)
poll
public NumberedRawMsg poll(long timeout)
throws InterruptedException,
TimeoutException
- Throws:
InterruptedException
TimeoutException
drainTo
public void drainTo(List<NumberedRawMsg> list,
int amount,
long timeout)
throws InterruptedException,
TimeoutException
- Throws:
InterruptedException
TimeoutException
clear
public void clear()
getCount
public long getCount()
getAvailable
public long getAvailable()
peek
public NumberedRawMsg peek()
getTotalSize
public long getTotalSize()
Copyright © 2005-2012 Onix Solutions. All Rights Reserved.