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 class
TranslogStatus.Builder
Builder forTranslogStatus
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TranslogStatus>
_DESERIALIZER
Json 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.String
percent()
API name:percent
long
recovered()
API name:recovered
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTranslogStatusDeserializer(DelegatingDeserializer<TranslogStatus.Builder> op)
long
total()
API name:total
long
totalOnStart()
API name:total_on_start
java.lang.String
totalTime()
API name:total_time
java.lang.String
totalTimeInMillis()
API name:total_time_in_millis
Methods 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()API name:percent
-
recovered
public long recovered()API name:recovered
-
total
public long total()API name:total
-
totalOnStart
public long totalOnStart()API name:total_on_start
-
totalTime
@Nullable public java.lang.String totalTime()API name:total_time
-
totalTimeInMillis
public java.lang.String totalTimeInMillis()API name:total_time_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTranslogStatusDeserializer
protected static void setupTranslogStatusDeserializer(DelegatingDeserializer<TranslogStatus.Builder> op)
-