Class AsyncTaskMaintenanceService

java.lang.Object
org.elasticsearch.common.component.AbstractLifecycleComponent
org.elasticsearch.xpack.core.async.AsyncTaskMaintenanceService
All Implemented Interfaces:
Closeable, AutoCloseable, ClusterStateListener, LifecycleComponent, org.elasticsearch.core.Releasable

public class AsyncTaskMaintenanceService extends AbstractLifecycleComponent implements ClusterStateListener
A service that runs a periodic cleanup over the async execution index.

Since we will have several injected implementation of this class injected into different transports, and we bind components created by Plugin.createComponents(org.elasticsearch.plugins.Plugin.PluginServices) to their classes, we need to implement one class per binding.