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
ConstructorsConstructorDescriptionQuarkusTaskExecutorImpl(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 TypeMethodDescriptionprotected voidhandleTask(long taskEntityId, org.apache.polaris.core.context.CallContext callContext, int attempt) voidinit()Methods inherited from class org.apache.polaris.service.task.TaskExecutorImpl
addTaskHandler, addTaskHandlerContext
-
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:
initin classorg.apache.polaris.service.task.TaskExecutorImpl
-
handleTask
protected void handleTask(long taskEntityId, org.apache.polaris.core.context.CallContext callContext, int attempt) - Overrides:
handleTaskin classorg.apache.polaris.service.task.TaskExecutorImpl
-