org.mule.util.queue
Class TransactionalQueueManager.QueueTransactionContext

java.lang.Object
  extended by org.mule.util.xa.AbstractTransactionContext
      extended by org.mule.util.queue.TransactionalQueueManager.QueueTransactionContext
Enclosing class:
TransactionalQueueManager

protected class TransactionalQueueManager.QueueTransactionContext
extends AbstractTransactionContext


Field Summary
protected  java.util.Map added
           
protected  java.util.Map removed
           
 
Fields inherited from class org.mule.util.xa.AbstractTransactionContext
finished, id, readOnly, status, suspended, timeout
 
Constructor Summary
protected TransactionalQueueManager.QueueTransactionContext()
           
 
Method Summary
 boolean offer(QueueInfo queue, java.lang.Object item, long timeout)
           
 java.lang.Object peek(QueueInfo queue)
           
 java.lang.Object poll(QueueInfo queue, long timeout)
           
 int size(QueueInfo queue)
           
 
Methods inherited from class org.mule.util.xa.AbstractTransactionContext
finalCleanUp, notifyFinish, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

added

protected java.util.Map added

removed

protected java.util.Map removed
Constructor Detail

TransactionalQueueManager.QueueTransactionContext

protected TransactionalQueueManager.QueueTransactionContext()
Method Detail

offer

public boolean offer(QueueInfo queue,
                     java.lang.Object item,
                     long timeout)
              throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

poll

public java.lang.Object poll(QueueInfo queue,
                             long timeout)
                      throws java.io.IOException,
                             java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

peek

public java.lang.Object peek(QueueInfo queue)
                      throws java.io.IOException,
                             java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

size

public int size(QueueInfo queue)


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