Class SlowlogTresholds
java.lang.Object
co.elastic.clients.elasticsearch.indices.SlowlogTresholds
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SlowlogTresholds extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlowlogTresholds.BuilderBuilder forSlowlogTresholds. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SlowlogTresholds>_DESERIALIZERJson deserializer forSlowlogTresholds -
Method Summary
Modifier and Type Method Description SlowlogTresholdLevelsfetch()API name:fetchSlowlogTresholdLevelsindex()The indexing slow log, similar in functionality to the search slow log.static SlowlogTresholdsof(java.util.function.Function<SlowlogTresholds.Builder,ObjectBuilder<SlowlogTresholds>> fn)SlowlogTresholdLevelsquery()API name:queryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSlowlogTresholdsDeserializer(ObjectDeserializer<SlowlogTresholds.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSlowlogTresholds
-
-
Method Details
-
of
public static SlowlogTresholds of(java.util.function.Function<SlowlogTresholds.Builder,ObjectBuilder<SlowlogTresholds>> fn) -
query
API name:query -
fetch
API name:fetch -
index
The indexing slow log, similar in functionality to the search slow log. The log file name ends with_index_indexing_slowlog.json. Log and the thresholds are configured in the same way as the search slowlog.API name:
index -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupSlowlogTresholdsDeserializer
protected static void setupSlowlogTresholdsDeserializer(ObjectDeserializer<SlowlogTresholds.Builder> op)
-