org.mule.util.queue
Interface TakingQueueInfoDelegate

All Superinterfaces:
QueueInfoDelegate

public interface TakingQueueInfoDelegate
extends QueueInfoDelegate

A QueueInfoDelegate that can take objects directly from its store


Method Summary
 Serializable takeFromObjectStore(long timeout)
          Poll the queue for its first member, and, if there is one, remove and return the corresponding object from the object store
 void writeToObjectStore(Serializable data)
           
 
Methods inherited from interface org.mule.util.queue.QueueInfoDelegate
addAll, getSize, offer, peek, poll, putNow, untake
 

Method Detail

takeFromObjectStore

Serializable takeFromObjectStore(long timeout)
                                 throws InterruptedException
Poll the queue for its first member, and, if there is one, remove and return the corresponding object from the object store

Throws:
InterruptedException

writeToObjectStore

void writeToObjectStore(Serializable data)
                        throws InterruptedException,
                               ObjectStoreException
Throws:
InterruptedException
ObjectStoreException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.