public final class TaskManagementExecutor extends Object implements AutoCloseable
ScheduledExecutorService
used for task management.Constructor and Description |
---|
TaskManagementExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ScheduledExecutorService |
getExecutor() |
com.facebook.airlift.concurrent.ThreadPoolExecutorMBean |
getTaskManagementExecutor() |
@PreDestroy public void close()
close
in interface AutoCloseable
public ScheduledExecutorService getExecutor()
public com.facebook.airlift.concurrent.ThreadPoolExecutorMBean getTaskManagementExecutor()
Copyright © 2012–2022. All rights reserved.