Class TranslogStatus
java.lang.Object
co.elastic.clients.elasticsearch.indices.recovery.TranslogStatus
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TranslogStatus extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTranslogStatus.BuilderBuilder forTranslogStatus. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TranslogStatus>_DESERIALIZERJson deserializer forTranslogStatus -
Constructor Summary
Constructors Constructor Description TranslogStatus(TranslogStatus.Builder builder)TranslogStatus(java.util.function.Function<TranslogStatus.Builder,TranslogStatus.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringpercent()Required - API name:percentlongrecovered()Required - API name:recoveredvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTranslogStatusDeserializer(DelegatingDeserializer<TranslogStatus.Builder> op)longtotal()Required - API name:totallongtotalOnStart()Required - API name:total_on_startjava.lang.StringtotalTime()API name:total_timejava.lang.StringtotalTimeInMillis()Required - API name:total_time_in_millisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTranslogStatus
-
-
Constructor Details
-
TranslogStatus
-
TranslogStatus
public TranslogStatus(java.util.function.Function<TranslogStatus.Builder,TranslogStatus.Builder> fn)
-
-
Method Details
-
percent
public java.lang.String percent()Required - API name:percent -
recovered
public long recovered()Required - API name:recovered -
total
public long total()Required - API name:total -
totalOnStart
public long totalOnStart()Required - API name:total_on_start -
totalTime
@Nullable public java.lang.String totalTime()API name:total_time -
totalTimeInMillis
public java.lang.String totalTimeInMillis()Required - API name:total_time_in_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTranslogStatusDeserializer
protected static void setupTranslogStatusDeserializer(DelegatingDeserializer<TranslogStatus.Builder> op)
-