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,CircuitBreakerService,ClusterApplierService,ClusterService,Coordinator,DelayedAllocationService,FileSettingsService,FilterRepository,FsHealthService,FsRepository,GatewayService,HealthPeriodicLogger,HierarchyCircuitBreakerService,IndicesClusterStateService,IndicesMetrics,IndicesService,InvalidRepository,JvmGcMonitorService,MasterNodeFileWatchingService,MasterService,MeteredBlobStoreRepository,MonitorService,NodeConnectionsService,NodeMetrics,NoneCircuitBreakerService,PeerRecoverySourceService,PreallocatedCircuitBreakerService,ReadinessService,RepositoriesService,SearchService,SeedHostsResolver,SnapshotShardsService,SnapshotsService,TcpTransport,TimestampFieldMapperService,TransportService,UnknownTypeRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddLifecycleListener(LifecycleListener listener) voidstart()voidstop()Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
lifecycleState
Lifecycle.State lifecycleState() -
addLifecycleListener
-
start
void start() -
stop
void stop()
-