Class Translog
java.lang.Object
org.opensearch.client.opensearch.indices.Translog
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Translog.Builder,Translog>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Translog
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Translog.Builder,Translog>
The translog configuration.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Translog> Json deserializer forTranslog -
Method Summary
Modifier and TypeMethodDescriptionstatic Translog.Builderbuilder()final TranslogDurabilityAPI name:durabilitybooleanfinal StringAPI name:flush_threshold_sizefinal StringAPI name:generation_threshold_sizeinthashCode()static Translogfinal TranslogRetentionAPI 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 voidfinal TimeAPI name:sync_intervalCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forTranslog
-
-
Method Details
-
of
-
durability
API name:durability -
flushThresholdSize
API name:flush_threshold_size -
generationThresholdSize
API name:generation_threshold_size -
retention
API name:retention -
syncInterval
API name:sync_interval -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Translog.Builder,Translog> - Returns:
- a new builder instance.
-
builder
-
setupTranslogDeserializer
-
hashCode
public int hashCode() -
equals
-