Class QuarkusWorkQueueImpl

java.lang.Object
io.quarkiverse.cxf.transport.http.hc5.QuarkusWorkQueueImpl
All Implemented Interfaces:
Executor, org.apache.cxf.workqueue.AutomaticWorkQueue, org.apache.cxf.workqueue.WorkQueue

public class QuarkusWorkQueueImpl extends Object implements org.apache.cxf.workqueue.AutomaticWorkQueue
Executes the tasks using ManagedExecutor for the sake of context propagation.
  • Constructor Details

    • QuarkusWorkQueueImpl

      public QuarkusWorkQueueImpl(String name, Executor executor)
  • Method Details

    • execute

      public void execute(Runnable command)
      Specified by:
      execute in interface Executor
    • execute

      public void execute(Runnable work, long timeout)
      Specified by:
      execute in interface org.apache.cxf.workqueue.WorkQueue
    • schedule

      public void schedule(Runnable work, long delay)
      Specified by:
      schedule in interface org.apache.cxf.workqueue.WorkQueue
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.cxf.workqueue.AutomaticWorkQueue
    • shutdown

      public void shutdown(boolean processRemainingWorkItems)
      Specified by:
      shutdown in interface org.apache.cxf.workqueue.AutomaticWorkQueue
    • isShutdown

      public boolean isShutdown()
      Specified by:
      isShutdown in interface org.apache.cxf.workqueue.AutomaticWorkQueue