Interface LifecycleComponent
- All Superinterfaces:
AutoCloseable
,Closeable
,org.elasticsearch.core.Releasable
- All Known Subinterfaces:
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
public interface LifecycleComponent
extends org.elasticsearch.core.Releasable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLifecycleListener
(LifecycleListener listener) void
removeLifecycleListener
(LifecycleListener listener) void
start()
void
stop()
Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
lifecycleState
Lifecycle.State lifecycleState() -
addLifecycleListener
-
removeLifecycleListener
-
start
void start() -
stop
void stop()
-