Class ActiveQueue

  • All Implemented Interfaces:
    TimerListener, java.util.EventListener

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

      • ActiveQueue

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

      • 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