@Deprecated public class QueueTransactionContext extends AbstractTransactionContext
Constructor and Description |
---|
QueueTransactionContext(TransactionalQueueManager transactionalQueueManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear(QueueInfo queue)
Deprecated.
|
void |
doCommit()
Deprecated.
|
void |
doRollback()
Deprecated.
|
protected void |
initializeAdded()
Deprecated.
|
protected void |
initializeRemoved()
Deprecated.
|
protected List<Serializable> |
lookupAddedQueue(QueueInfo queue)
Deprecated.
|
protected List<Serializable> |
lookupRemovedQueue(QueueInfo queue)
Deprecated.
|
boolean |
offer(QueueInfo queue,
Serializable item,
long offerTimeout)
Deprecated.
|
Serializable |
peek(QueueInfo queue)
Deprecated.
|
Serializable |
poll(QueueInfo queue,
long pollTimeout)
Deprecated.
|
int |
size(QueueInfo queue)
Deprecated.
|
void |
untake(QueueInfo queue,
Serializable item)
Deprecated.
|
finalCleanUp, notifyFinish, toString
public QueueTransactionContext(TransactionalQueueManager transactionalQueueManager)
public boolean offer(QueueInfo queue, Serializable item, long offerTimeout) throws InterruptedException, ObjectStoreException
public void untake(QueueInfo queue, Serializable item) throws InterruptedException, ObjectStoreException
public void clear(QueueInfo queue) throws InterruptedException
InterruptedException
public Serializable poll(QueueInfo queue, long pollTimeout) throws InterruptedException, ObjectStoreException
public Serializable peek(QueueInfo queue) throws InterruptedException, ObjectStoreException
public int size(QueueInfo queue)
public void doCommit() throws ResourceManagerException
doCommit
in class AbstractTransactionContext
ResourceManagerException
public void doRollback() throws ResourceManagerException
doRollback
in class AbstractTransactionContext
ResourceManagerException
protected void initializeAdded()
protected void initializeRemoved()
protected List<Serializable> lookupAddedQueue(QueueInfo queue)
protected List<Serializable> lookupRemovedQueue(QueueInfo queue)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.