Class QOSBasedRequestRunnable

  • public class QOSBasedRequestRunnable
    extends java.lang.Object
    Wrapper class for "runnables" i.e. a request that must be executed. Also tags a request with a QOS level.
    • Constructor Summary

      Constructor Description
      QOSBasedRequestRunnable​(java.lang.String queueName, QOS qos, java.lang.Runnable command)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Runnable getCommand()  
      QOS getQOS()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QOSBasedRequestRunnable

        public QOSBasedRequestRunnable​(java.lang.String queueName,
                                       QOS qos,
                                       java.lang.Runnable command)
    • Method Detail

      • getQOS

        public final QOS getQOS()
      • getCommand

        public final java.lang.Runnable getCommand()