Package org.elasticsearch.index
Class IndexingSlowLog
- java.lang.Object
-
- org.elasticsearch.index.IndexingSlowLog
-
- All Implemented Interfaces:
IndexingOperationListener
public final class IndexingSlowLog extends java.lang.Object implements IndexingOperationListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.index.shard.IndexingOperationListener
IndexingOperationListener.CompositeListener
-
-
Field Summary
Fields Modifier and Type Field Description static Setting<SlowLogLevel>
INDEX_INDEXING_SLOWLOG_LEVEL_SETTING
static Setting<java.lang.Integer>
INDEX_INDEXING_SLOWLOG_MAX_SOURCE_CHARS_TO_LOG_SETTING
Reads how much of the source to log.static Setting<java.lang.Boolean>
INDEX_INDEXING_SLOWLOG_REFORMAT_SETTING
static Setting<TimeValue>
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_DEBUG_SETTING
static Setting<TimeValue>
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_INFO_SETTING
static Setting<TimeValue>
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_TRACE_SETTING
static Setting<TimeValue>
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_WARN_SETTING
-
Method Summary
Modifier and Type Method Description void
postIndex(ShardId shardId, Engine.Index indexOperation, Engine.IndexResult result)
Called after the indexing operation occurred.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.index.shard.IndexingOperationListener
postDelete, postDelete, postIndex, preDelete, preIndex
-
-
-
-
Field Detail
-
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_WARN_SETTING
public static final Setting<TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_WARN_SETTING
-
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_INFO_SETTING
public static final Setting<TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_INFO_SETTING
-
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_DEBUG_SETTING
public static final Setting<TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_DEBUG_SETTING
-
INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_TRACE_SETTING
public static final Setting<TimeValue> INDEX_INDEXING_SLOWLOG_THRESHOLD_INDEX_TRACE_SETTING
-
INDEX_INDEXING_SLOWLOG_REFORMAT_SETTING
public static final Setting<java.lang.Boolean> INDEX_INDEXING_SLOWLOG_REFORMAT_SETTING
-
INDEX_INDEXING_SLOWLOG_LEVEL_SETTING
public static final Setting<SlowLogLevel> INDEX_INDEXING_SLOWLOG_LEVEL_SETTING
-
INDEX_INDEXING_SLOWLOG_MAX_SOURCE_CHARS_TO_LOG_SETTING
public static final Setting<java.lang.Integer> INDEX_INDEXING_SLOWLOG_MAX_SOURCE_CHARS_TO_LOG_SETTING
Reads how much of the source to log. The user can specify any value they like and numbers are interpreted the maximum number of characters to log and everything else is interpreted as Elasticsearch interprets booleans which is then converted to 0 for false and Integer.MAX_VALUE for true.
-
-
Method Detail
-
postIndex
public void postIndex(ShardId shardId, Engine.Index indexOperation, Engine.IndexResult result)
Description copied from interface:IndexingOperationListener
Called after the indexing operation occurred. Note that this is also called when indexing a document did not succeed due to document related failures. SeeIndexingOperationListener.postIndex(ShardId, Engine.Index, Exception)
for engine level failures- Specified by:
postIndex
in interfaceIndexingOperationListener
-
-