Class MemoryQueueFactory

java.lang.Object
io.kestra.runner.memory.MemoryQueueFactory
All Implemented Interfaces:
io.kestra.core.queues.QueueFactoryInterface

@Factory @MemoryQueueEnabled public class MemoryQueueFactory extends Object implements io.kestra.core.queues.QueueFactoryInterface
  • Field Summary

    Fields inherited from interface io.kestra.core.queues.QueueFactoryInterface

    EXECUTION_NAMED, EXECUTOR_NAMED, FLOW_NAMED, KILL_NAMED, METRIC_QUEUE, SUBFLOWEXECUTIONRESULT_NAMED, TEMPLATE_NAMED, TRIGGER_NAMED, WORKERINSTANCE_NAMED, WORKERJOB_NAMED, WORKERJOBRUNNING_NAMED, WORKERTASKLOG_NAMED, WORKERTASKRESULT_NAMED, WORKERTRIGGERRESULT_NAMED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.Execution>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.runners.Executor>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.models.flows.Flow>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.ExecutionKilled>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.LogEntry>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.MetricEntry>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.runners.SubflowExecutionResult>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.models.templates.Template>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.models.triggers.Trigger>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerInstance>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerJob>
     
    io.kestra.core.queues.WorkerJobQueueInterface
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerJobRunning>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerTaskResult>
     
    io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerTriggerResult>
     
    io.kestra.core.queues.WorkerTriggerResultQueueInterface
     

    Methods inherited from class java.lang.Object

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

    • MemoryQueueFactory

      public MemoryQueueFactory()
  • Method Details

    • execution

      @Singleton @Named("executionQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.Execution> execution()
      Specified by:
      execution in interface io.kestra.core.queues.QueueFactoryInterface
    • executor

      @Singleton @Named("executorQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.runners.Executor> executor()
      Specified by:
      executor in interface io.kestra.core.queues.QueueFactoryInterface
    • workerJob

      @Singleton @Named("workerJobQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerJob> workerJob()
      Specified by:
      workerJob in interface io.kestra.core.queues.QueueFactoryInterface
    • workerTaskResult

      @Singleton @Named("workerTaskResultQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerTaskResult> workerTaskResult()
      Specified by:
      workerTaskResult in interface io.kestra.core.queues.QueueFactoryInterface
    • workerTriggerResult

      @Singleton @Named("workerTriggerResultQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerTriggerResult> workerTriggerResult()
      Specified by:
      workerTriggerResult in interface io.kestra.core.queues.QueueFactoryInterface
    • logEntry

      @Singleton @Named("workerTaskLogQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.LogEntry> logEntry()
      Specified by:
      logEntry in interface io.kestra.core.queues.QueueFactoryInterface
    • metricEntry

      @Singleton @Named("workerTaskMetricQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.MetricEntry> metricEntry()
      Specified by:
      metricEntry in interface io.kestra.core.queues.QueueFactoryInterface
    • flow

      @Singleton @Named("flowQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.models.flows.Flow> flow()
      Specified by:
      flow in interface io.kestra.core.queues.QueueFactoryInterface
    • kill

      @Singleton @Named("executionKilledQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.models.executions.ExecutionKilled> kill()
      Specified by:
      kill in interface io.kestra.core.queues.QueueFactoryInterface
    • template

      @Singleton @Named("templateQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.models.templates.Template> template()
      Specified by:
      template in interface io.kestra.core.queues.QueueFactoryInterface
    • workerInstance

      @Singleton @Named("workerInstanceQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerInstance> workerInstance()
      Specified by:
      workerInstance in interface io.kestra.core.queues.QueueFactoryInterface
    • workerJobRunning

      @Singleton @Named("workerJobRunningQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.runners.WorkerJobRunning> workerJobRunning()
      Specified by:
      workerJobRunning in interface io.kestra.core.queues.QueueFactoryInterface
    • trigger

      @Singleton @Named("triggerQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.models.triggers.Trigger> trigger()
      Specified by:
      trigger in interface io.kestra.core.queues.QueueFactoryInterface
    • workerJobQueue

      @Prototype public io.kestra.core.queues.WorkerJobQueueInterface workerJobQueue()
      Specified by:
      workerJobQueue in interface io.kestra.core.queues.QueueFactoryInterface
    • workerTriggerResultQueue

      @Singleton public io.kestra.core.queues.WorkerTriggerResultQueueInterface workerTriggerResultQueue()
      Specified by:
      workerTriggerResultQueue in interface io.kestra.core.queues.QueueFactoryInterface
    • subflowExecutionResult

      @Singleton @Named("subflowExecutionResultQueue") public io.kestra.core.queues.QueueInterface<io.kestra.core.runners.SubflowExecutionResult> subflowExecutionResult()
      Specified by:
      subflowExecutionResult in interface io.kestra.core.queues.QueueFactoryInterface