Class Translog
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.Translog
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Translog extends java.lang.Object implements JsonpSerializable
-
-
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
All Methods Static Methods Instance Methods Concrete Methods 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)voidserialize(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)TimesyncInterval()API name:sync_interval
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<Translog> _DESERIALIZER
Json deserializer forTranslog
-
-
Method Detail
-
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
-
syncInterval
@Nullable public final Time syncInterval()
API name:sync_interval
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupTranslogDeserializer
protected static void setupTranslogDeserializer(ObjectDeserializer<Translog.Builder> op)
-
-