Interface QueueStatus


  • public interface QueueStatus
    QueueStatus contains status information for a specific queue.
    • Method Detail

      • getScheduler

        Scheduler getScheduler()
        Get the Scheduler that produced this QueueStatus.
        Returns:
        the Scheduler.
      • getQueueName

        java.lang.String getQueueName()
        Get the queue name.
        Returns:
        the queue name.
      • hasException

        boolean hasException()
        Did the queue produce an exception ?
        Returns:
        if the queue produced an exception ?
      • getException

        XenonException getException()
        Get the exception produced by the queue, or null if hasException() returns false. See maybeThrowException() for the possible exceptions.
        Returns:
        the exception.
      • maybeThrowException

        void maybeThrowException()
                          throws XenonException
        Throws the exception produced by the queue if it exists. Otherwise continue.
        Throws:
        NoSuchQueueException - if the requested queue does not exist
        XenonException - if an I/O error occurred.
      • getSchedulerSpecificInformation

        java.util.Map<java.lang.String,​java.lang.String> getSchedulerSpecificInformation()
        Get scheduler specific information on the queue.
        Returns:
        Scheduler specific information on the queue.