public class InactiveMarkersPlanAction extends TriggerActionBase
NodeAddedTrigger
and NodeLostTrigger
to
ensure fault tolerance in case of Overseer leader crash.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TTL_SECONDS
Deprecated.
|
static String |
TTL_PROP
Deprecated.
|
cloudManager, loader, properties, requiredProperties, validProperties
Constructor and Description |
---|
InactiveMarkersPlanAction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(SolrResourceLoader loader,
SolrCloudManager cloudManager,
Map<String,Object> properties)
Deprecated.
Called when action is created but before it's initialized and used.
|
void |
process(TriggerEvent event,
ActionContext context)
Deprecated.
|
close, getName, init
public static final String TTL_PROP
public static final int DEFAULT_TTL_SECONDS
public void configure(SolrResourceLoader loader, SolrCloudManager cloudManager, Map<String,Object> properties) throws TriggerValidationException
TriggerAction
configure
in interface TriggerAction
configure
in class TriggerActionBase
loader
- loader to use for instantiating sub-componentscloudManager
- current instance of SolrCloudManagerproperties
- configuration propertiesTriggerValidationException
- contains details of invalid configuration parameters.public void process(TriggerEvent event, ActionContext context) throws Exception
Exception
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.