Class ActiveQueue

java.lang.Object
com.swiftmq.swiftlet.queue.ActiveQueue
All Implemented Interfaces:
TimerListener, EventListener

public class ActiveQueue extends Object implements TimerListener
Wrapper for an active (started) queue.
Author:
IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
  • Constructor Details

    • ActiveQueue

      public ActiveQueue(AbstractQueue abstractQueue)
      Constructs an ActiveQueue.
      Parameters:
      abstractQueue - queue.
  • Method Details

    • getAbstractQueue

      public AbstractQueue getAbstractQueue()
      Returns the queue.
      Returns:
      queue.
    • getStartupTime

      public long getStartupTime()
      Returns the startup time.
      Returns:
      startup time.
    • setStartupTime

      public void setStartupTime(long startupTime)
      Sets the startup time.
      Parameters:
      startupTime - startup time.
    • performTimeAction

      public void performTimeAction()
      Cleanup expired messages. Implemenation of TimerListener
      Specified by:
      performTimeAction in interface TimerListener