biz.onixs.fix.engine
Interface OutQueue
- All Known Implementing Classes:
- AbstractOutQueue, MemoryOutQueue, StorageOutQueue
public interface OutQueue
put
void put(NumberedRawMsg msg)
put
void put(List<NumberedRawMsg> msgs)
offer
boolean offer(NumberedRawMsg msg)
offer
boolean offer(NumberedRawMsg msg,
long timeout,
TimeUnit unit)
offer
boolean offer(List<NumberedRawMsg> msgs)
poll
NumberedRawMsg poll(long timeout)
throws InterruptedException,
TimeoutException
- Throws:
InterruptedException
TimeoutException
drainTo
void drainTo(List<NumberedRawMsg> msgs,
int amount,
long timeout)
throws InterruptedException,
TimeoutException
- Throws:
InterruptedException
TimeoutException
clear
void clear()
getCount
long getCount()
peek
NumberedRawMsg peek()
getTotalSize
long getTotalSize()
getAvailable
long getAvailable()
getStorage
SessionStorage getStorage()
setStorage
void setStorage(SessionStorage storage)
getQueueBufSize
int getQueueBufSize()
setQueueBufSize
void setQueueBufSize(int queueBufSize)
setPool
void setPool(NumberedRawMsgPool rawMsgPool)
getPool
NumberedRawMsgPool getPool()
Copyright © 2005-2012 Onix Solutions. All Rights Reserved.