Class ClusteredQueue

java.lang.Object
AbstractQueue
com.swiftmq.impl.queue.standard.cluster.ClusteredQueue

public class ClusteredQueue extends AbstractQueue
  • Constructor Details

  • Method Details

    • selectBaseQueue

      public AbstractQueue selectBaseQueue()
    • hasReceiver

      public boolean hasReceiver(MessageImpl message)
    • lockQueue

      public void lockQueue(Object txId)
    • unlockQueue

      public void unlockQueue(Object txId, boolean markAsyncActive)
    • unmarkAsyncActive

      public void unmarkAsyncActive(Object txId)
    • setCompositeStoreTransaction

      public void setCompositeStoreTransaction(Object txId, CompositeStoreTransaction ct)
    • getCompositeStoreTransaction

      public CompositeStoreTransaction getCompositeStoreTransaction(Object txId)
    • createPullTransaction

      public Object createPullTransaction() throws QueueException
      Throws:
      QueueException
    • createPushTransaction

      public Object createPushTransaction() throws QueueException
      Throws:
      QueueException
    • putMessage

      public void putMessage(Object txId, MessageImpl message) throws QueueException
      Throws:
      QueueException
    • commit

      public void commit(Object txId) throws QueueException
      Throws:
      QueueException
    • commit

      public void commit(Object txId, AsyncCompletionCallback callback)
    • rollback

      public void rollback(Object txId, boolean b) throws QueueException
      Throws:
      QueueException
    • rollback

      public void rollback(Object txId, boolean b, AsyncCompletionCallback callback)
    • prepare

      public void prepare(Object txId, XidImpl xid) throws QueueException
      Throws:
      QueueException
    • commit

      public void commit(Object txId, XidImpl xid) throws QueueException
      Throws:
      QueueException
    • rollback

      public void rollback(Object txId, XidImpl xid, boolean b) throws QueueException
      Throws:
      QueueException
    • deleteContent

      public void deleteContent() throws QueueException
      Throws:
      QueueException
    • startQueue

      public void startQueue() throws QueueException
      Throws:
      QueueException
    • stopQueue

      public void stopQueue() throws QueueException
      Throws:
      QueueException
    • toString

      public String toString()