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 |
static String |
TTL_PROP |
cloudManager, loader, properties, requiredProperties, validProperties| Constructor and Description |
|---|
InactiveMarkersPlanAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SolrResourceLoader loader,
SolrCloudManager cloudManager,
Map<String,Object> properties)
Called when action is created but before it's initialized and used.
|
void |
process(TriggerEvent event,
ActionContext context) |
close, getName, initpublic 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
TriggerActionconfigure in interface TriggerActionconfigure in class TriggerActionBaseloader - 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
ExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.