public class DefaultClusterServicesManager extends Object implements ClusterServicesManager, Startable
Modifier and Type | Class and Description |
---|---|
class |
DefaultClusterServicesManager.IndexCleaningServiceHelper |
Modifier and Type | Field and Description |
---|---|
static java.time.Duration |
DEFAULT_RETENTION_PERIOD |
Constructor and Description |
---|
DefaultClusterServicesManager(ClusterManager clusterManager,
ServiceManager serviceManager,
NodeReindexService nodeReindexService,
I18nHelper i18nHelper,
NodeStateManager nodeStateManager,
ClusterNodeHeartBeatDao heartBeatDao,
SharedHomeNodeStatusWriter sharedHomeNodeStatusWriter,
MessageHandlerService messageHandlerService,
HeartbeatScheduledExecutorFactory heartbeatScheduledExecutorFactory,
ClusterWatchdogService clusterWatchdogService,
ClusterTaskCleanupService clusterTaskCleanupService,
VersioningCleanupService versioningCleanupService,
ClusterStateCheckerJob clusterStateCheckerService,
ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
void |
startServices() |
void |
stopServices() |
public static final java.time.Duration DEFAULT_RETENTION_PERIOD
public DefaultClusterServicesManager(ClusterManager clusterManager, ServiceManager serviceManager, NodeReindexService nodeReindexService, I18nHelper i18nHelper, NodeStateManager nodeStateManager, ClusterNodeHeartBeatDao heartBeatDao, SharedHomeNodeStatusWriter sharedHomeNodeStatusWriter, MessageHandlerService messageHandlerService, HeartbeatScheduledExecutorFactory heartbeatScheduledExecutorFactory, ClusterWatchdogService clusterWatchdogService, ClusterTaskCleanupService clusterTaskCleanupService, VersioningCleanupService versioningCleanupService, ClusterStateCheckerJob clusterStateCheckerService, ApplicationProperties applicationProperties)
public void startServices()
startServices
in interface ClusterServicesManager
public void stopServices()
stopServices
in interface ClusterServicesManager
Copyright © 2002-2020 Atlassian. All Rights Reserved.