Interface LifecycleComponent
- All Superinterfaces:
AutoCloseable,Closeable,org.elasticsearch.core.Releasable
- All Known Subinterfaces:
Discovery,HttpServerTransport,Repository,Transport
- All Known Implementing Classes:
AbstractHttpServerTransport,AbstractLifecycleComponent,BlobStoreRepository,CircuitBreakerService,ClusterApplierService,ClusterService,Coordinator,DelayedAllocationService,FilterRepository,FsHealthService,FsRepository,GatewayService,HierarchyCircuitBreakerService,IndicesClusterStateService,IndicesService,JvmGcMonitorService,MasterService,MeteredBlobStoreRepository,MonitorService,NodeConnectionsService,NoneCircuitBreakerService,PeerRecoverySourceService,PreallocatedCircuitBreakerService,RepositoriesService,SearchService,SeedHostsResolver,SnapshotShardsService,SnapshotsService,TcpTransport,TimestampFieldMapperService,TransportService,ZenDiscovery
public interface LifecycleComponent
extends org.elasticsearch.core.Releasable
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddLifecycleListener(LifecycleListener listener)voidremoveLifecycleListener(LifecycleListener listener)voidstart()voidstop()Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
lifecycleState
Lifecycle.State lifecycleState() -
addLifecycleListener
-
removeLifecycleListener
-
start
void start() -
stop
void stop()
-