org.elasticsearch.indices.ttl
Class IndicesTTLService
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.common.component.AbstractLifecycleComponent<IndicesTTLService>
org.elasticsearch.indices.ttl.IndicesTTLService
- All Implemented Interfaces:
- CloseableComponent, LifecycleComponent<IndicesTTLService>
public class IndicesTTLService
- extends AbstractLifecycleComponent<IndicesTTLService>
A node level service that delete expired docs on node primary shards.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndicesTTLService
@Inject
public IndicesTTLService(Settings settings,
ClusterService clusterService,
IndicesService indicesService,
NodeSettingsService nodeSettingsService,
Client client)
doStart
protected void doStart()
throws ElasticSearchException
- Specified by:
doStart
in class AbstractLifecycleComponent<IndicesTTLService>
- Throws:
ElasticSearchException
doStop
protected void doStop()
throws ElasticSearchException
- Specified by:
doStop
in class AbstractLifecycleComponent<IndicesTTLService>
- Throws:
ElasticSearchException
doClose
protected void doClose()
throws ElasticSearchException
- Specified by:
doClose
in class AbstractLifecycleComponent<IndicesTTLService>
- Throws:
ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.