java.lang.AutoCloseable
, java.io.Closeable
, Releasable
Discovery
, HttpServerTransport
, Repository
, Transport
AbstractLifecycleComponent
, BlobStoreRepository
, CircuitBreakerService
, ClusterApplierService
, ClusterService
, DelayedAllocationService
, FsRepository
, GatewayService
, HierarchyCircuitBreakerService
, IndicesClusterStateService
, IndicesService
, JvmGcMonitorService
, MasterService
, MonitorService
, NodeConnectionsService
, NoneCircuitBreakerService
, ResourceWatcherService
, RoutingService
, SearchService
, SingleNodeDiscovery
, SnapshotShardsService
, SnapshotsService
, TcpTransport
, TransportService
, ZenDiscovery
public interface LifecycleComponent extends Releasable
Modifier and Type | Method | Description |
---|---|---|
void |
addLifecycleListener(LifecycleListener listener) |
|
Lifecycle.State |
lifecycleState() |
|
void |
removeLifecycleListener(LifecycleListener listener) |
|
void |
start() |
|
void |
stop() |
close
Lifecycle.State lifecycleState()
void addLifecycleListener(LifecycleListener listener)
void removeLifecycleListener(LifecycleListener listener)
void start()
void stop()