public class SystemLogListener extends TriggerListenerBase
CollectionAdminParams.SYSTEM_COLL collection.
Configuration properties:
CollectionAdminParams.SYSTEM_COLL.| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_FIELD
Deprecated.
|
static String |
AFTER_ACTIONS_FIELD
Deprecated.
|
static String |
BEFORE_ACTIONS_FIELD
Deprecated.
|
static String |
COLLECTIONS_FIELD
Deprecated.
|
static String |
DOC_TYPE
Deprecated.
|
static String |
EVENT_SOURCE_FIELD
Deprecated.
|
static String |
EVENT_TYPE_FIELD
Deprecated.
|
static String |
MESSAGE_FIELD
Deprecated.
|
static String |
SOURCE
Deprecated.
|
static String |
SOURCE_FIELD
Deprecated.
|
static String |
STAGE_FIELD
Deprecated.
|
cloudManager, config, enabled, loader, requiredProperties, validProperties, validPropertyPrefixes| Constructor and Description |
|---|
SystemLogListener()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(SolrResourceLoader loader,
SolrCloudManager cloudManager,
AutoScalingConfig.TriggerListenerConfig config)
Deprecated.
Called when listener is created but before it's initialized and used.
|
void |
onEvent(TriggerEvent event,
TriggerEventProcessorStage stage,
String actionName,
ActionContext context,
Throwable error,
String message)
Deprecated.
This method is called when either a particular
stage or
actionName is reached during event processing. |
close, getConfig, init, isEnabledpublic static final String SOURCE_FIELD
public static final String EVENT_SOURCE_FIELD
public static final String EVENT_TYPE_FIELD
public static final String STAGE_FIELD
public static final String ACTION_FIELD
public static final String MESSAGE_FIELD
public static final String BEFORE_ACTIONS_FIELD
public static final String AFTER_ACTIONS_FIELD
public static final String COLLECTIONS_FIELD
public static final String SOURCE
public static final String DOC_TYPE
public void configure(SolrResourceLoader loader, SolrCloudManager cloudManager, AutoScalingConfig.TriggerListenerConfig config) throws TriggerValidationException
TriggerListenerconfigure in interface TriggerListenerconfigure in class TriggerListenerBaseloader - loader to use for instantiating sub-componentscloudManager - current instance of SolrCloudManagerconfig - conigurationTriggerValidationException - contains details of invalid configuration parameters.public void onEvent(TriggerEvent event, TriggerEventProcessorStage stage, String actionName, ActionContext context, Throwable error, String message) throws Exception
TriggerListenerstage or
actionName is reached during event processing.event - current event being processedstage - TriggerEventProcessorStage that this listener was registered for, or nullactionName - TriggerAction name that this listener was registered for, or nullcontext - optional ActionContext when the processing stage is related to an action, or nullerror - optional Throwable error, or nullmessage - optional messageExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.