Class Translog
java.lang.Object
co.elastic.clients.elasticsearch.indices.Translog
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Translog extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTranslog.BuilderBuilder forTranslog. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Translog>_DESERIALIZERJson deserializer forTranslog -
Method Summary
Modifier and Type Method Description java.lang.Stringdurability()API name:durabilityjava.lang.StringflushThresholdSize()API name:flush_threshold_sizestatic Translogof(java.util.function.Function<Translog.Builder,ObjectBuilder<Translog>> fn)TranslogRetentionretention()API name:retentionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTranslogDeserializer(ObjectDeserializer<Translog.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTranslog
-
-
Method Details
-
of
public static Translog of(java.util.function.Function<Translog.Builder,ObjectBuilder<Translog>> fn) -
durability
@Nullable public final java.lang.String durability()API name:durability -
flushThresholdSize
@Nullable public final java.lang.String flushThresholdSize()API name:flush_threshold_size -
retention
API name:retention -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTranslogDeserializer
-