Class MemoryWorkerTriggerResultQueue

java.lang.Object
io.kestra.runner.memory.MemoryWorkerTriggerResultQueue
All Implemented Interfaces:
io.kestra.core.queues.WorkerTriggerResultQueueInterface, Closeable, AutoCloseable

public class MemoryWorkerTriggerResultQueue extends Object implements io.kestra.core.queues.WorkerTriggerResultQueueInterface
  • Constructor Details

    • MemoryWorkerTriggerResultQueue

      public MemoryWorkerTriggerResultQueue(io.micronaut.context.ApplicationContext applicationContext)
  • Method Details

    • receive

      public Runnable receive(String consumerGroup, Class<?> queueType, Consumer<io.kestra.core.utils.Either<io.kestra.core.runners.WorkerTriggerResult,io.kestra.core.exceptions.DeserializationException>> consumer)
      Specified by:
      receive in interface io.kestra.core.queues.WorkerTriggerResultQueueInterface
    • pause

      public void pause()
      Specified by:
      pause in interface io.kestra.core.queues.WorkerTriggerResultQueueInterface
    • cleanup

      public void cleanup()
      Specified by:
      cleanup in interface io.kestra.core.queues.WorkerTriggerResultQueueInterface
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable