Module org.elasticsearch.server
Interface LifecycleComponent
- All Superinterfaces:
AutoCloseable
,Closeable
,Releasable
- All Known Subinterfaces:
HttpServerTransport
,Repository
,Transport
- All Known Implementing Classes:
AbstractFileWatchingService
,AbstractHttpServerTransport
,AbstractLifecycleComponent
,BlobStoreRepository
,ClusterApplierService
,ClusterService
,Coordinator
,DelayedAllocationService
,FileSettingsService
,FilterRepository
,FsHealthService
,FsRepository
,GatewayService
,HealthPeriodicLogger
,IndicesClusterStateService
,IndicesMetrics
,IndicesService
,InvalidRepository
,JvmGcMonitorService
,MasterNodeFileWatchingService
,MasterService
,MeteredBlobStoreRepository
,MonitorService
,NodeConnectionsService
,NodeMetrics
,PeerRecoverySourceService
,ReadinessService
,RepositoriesService
,SearchService
,SeedHostsResolver
,SnapshotShardsService
,SnapshotsService
,TcpTransport
,TimestampFieldMapperService
,TransportService
,UnknownTypeRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLifecycleListener
(LifecycleListener listener) void
start()
void
stop()
Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
lifecycleState
Lifecycle.State lifecycleState() -
addLifecycleListener
-
start
void start() -
stop
void stop()
-