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