org.mule.util.queue.objectstore
Interface TakingQueueStoreDelegate

All Superinterfaces:
QueueStoreDelegate

Deprecated. this class will be removed in Mule 4.0 in favor of the new queue implementation

@Deprecated
public interface TakingQueueStoreDelegate
extends QueueStoreDelegate

A QueueStoreDelegate that can take objects directly from its store


Method Summary
 Serializable takeFromObjectStore(long timeout)
          Deprecated. 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)
          Deprecated.  
 
Methods inherited from interface org.mule.util.queue.QueueStoreDelegate
addAll, clear, dispose, getSize, offer, peek, poll, putNow, untake
 

Method Detail

takeFromObjectStore

Serializable takeFromObjectStore(long timeout)
                                 throws InterruptedException
Deprecated. 
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
Deprecated. 
Throws:
InterruptedException
ObjectStoreException


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.