Class TranslogStatus
java.lang.Object
org.opensearch.client.opensearch.indices.recovery.TranslogStatus
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<TranslogStatus.Builder,TranslogStatus>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class TranslogStatus
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<TranslogStatus.Builder,TranslogStatus>
The transaction log recovery status.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TranslogStatus> Json deserializer forTranslogStatus -
Method Summary
Modifier and TypeMethodDescriptionstatic TranslogStatus.Builderbuilder()booleaninthashCode()static TranslogStatusfinal Stringpercent()Required - API name:percentfinal intRequired - The number of recovered transaction log operations.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final inttotal()Required - The total number of transaction log operations.final intRequired - The number of transaction log operations at start.final TimeAPI name:total_timefinal longRequired - API name:total_time_in_millisMethods 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 forTranslogStatus
-
-
Method Details
-
of
-
percent
Required - API name:percent -
recovered
public final int recovered()Required - The number of recovered transaction log operations.API name:
recovered -
total
public final int total()Required - The total number of transaction log operations.API name:
total -
totalOnStart
public final int totalOnStart()Required - The number of transaction log operations at start.API name:
total_on_start -
totalTime
API name:total_time -
totalTimeInMillis
public final long totalTimeInMillis()Required - API name:total_time_in_millis -
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<TranslogStatus.Builder,TranslogStatus> - Returns:
- a new builder instance.
-
builder
-
setupTranslogStatusDeserializer
protected static void setupTranslogStatusDeserializer(ObjectDeserializer<TranslogStatus.Builder> op) -
hashCode
public int hashCode() -
equals
-