Class QuarkusTaskExecutorImpl

java.lang.Object
org.apache.polaris.service.task.TaskExecutorImpl
org.apache.polaris.service.quarkus.task.QuarkusTaskExecutorImpl
All Implemented Interfaces:
org.apache.polaris.service.task.TaskExecutor

@ApplicationScoped public class QuarkusTaskExecutorImpl extends org.apache.polaris.service.task.TaskExecutorImpl
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    QuarkusTaskExecutorImpl(ExecutorService executorService, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.service.task.TaskFileIOSupplier fileIOSupplier, io.opentelemetry.api.trace.Tracer tracer, org.apache.polaris.service.events.PolarisEventListener polarisEventListener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    handleTask(long taskEntityId, org.apache.polaris.core.context.CallContext callContext, int attempt)
     
    void
     

    Methods inherited from class org.apache.polaris.service.task.TaskExecutorImpl

    addTaskHandler, addTaskHandlerContext

    Methods inherited from class java.lang.Object

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

    • QuarkusTaskExecutorImpl

      public QuarkusTaskExecutorImpl()
    • QuarkusTaskExecutorImpl

      @Inject public QuarkusTaskExecutorImpl(@Identifier("task-executor") ExecutorService executorService, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.service.task.TaskFileIOSupplier fileIOSupplier, io.opentelemetry.api.trace.Tracer tracer, org.apache.polaris.service.events.PolarisEventListener polarisEventListener)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class org.apache.polaris.service.task.TaskExecutorImpl
    • handleTask

      protected void handleTask(long taskEntityId, org.apache.polaris.core.context.CallContext callContext, int attempt)
      Overrides:
      handleTask in class org.apache.polaris.service.task.TaskExecutorImpl