Package io.kestra.core.runners
Class Worker
java.lang.Object
io.kestra.core.runners.Worker
- All Implemented Interfaces:
AutoCloseable,Runnable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcloseWorker(Duration awaitDuration) getMetricRunningCount(WorkerTask workerTask) voidrun()voidshutdown()
-
Constructor Details
-
Worker
public Worker(io.micronaut.context.ApplicationContext applicationContext, int thread, String workerGroupKey)
-
-
Method Details
-
run
public void run() -
getMetricRunningCount
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
closeWorker
- Throws:
Exception
-
shutdown
- Throws:
IOException
-
getWorkerThreadTasks
-