Module org.elasticsearch.xcore
Package org.elasticsearch.license
Class StartupSelfGeneratedLicenseTask
java.lang.Object
org.elasticsearch.cluster.ClusterStateUpdateTask
org.elasticsearch.license.StartupSelfGeneratedLicenseTask
- All Implemented Interfaces:
ClusterStateTaskListener
-
Constructor Summary
ConstructorsConstructorDescriptionStartupSelfGeneratedLicenseTask(Settings settings, Clock clock, ClusterService clusterService) -
Method Summary
Modifier and TypeMethodDescriptionvoidclusterStateProcessed(ClusterState oldState, ClusterState newState) execute(ClusterState currentState) voidMethods inherited from class org.elasticsearch.cluster.ClusterStateUpdateTask
priority, timeout
-
Constructor Details
-
StartupSelfGeneratedLicenseTask
public StartupSelfGeneratedLicenseTask(Settings settings, Clock clock, ClusterService clusterService)
-
-
Method Details
-
clusterStateProcessed
- Overrides:
clusterStateProcessedin classClusterStateUpdateTask
-
execute
- Specified by:
executein classClusterStateUpdateTask- Throws:
Exception
-
onFailure
-