Interface LifecycleComponent
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,Releasable
- All Known Subinterfaces:
Discovery
,HttpServerTransport
,Repository
,Transport
- All Known Implementing Classes:
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addLifecycleListener(LifecycleListener listener)
Lifecycle.State
lifecycleState()
void
removeLifecycleListener(LifecycleListener listener)
void
start()
void
stop()
-
Methods inherited from interface org.elasticsearch.common.lease.Releasable
close
-
-
-
-
Method Detail
-
lifecycleState
Lifecycle.State lifecycleState()
-
addLifecycleListener
void addLifecycleListener(LifecycleListener listener)
-
removeLifecycleListener
void removeLifecycleListener(LifecycleListener listener)
-
start
void start()
-
stop
void stop()
-
-