Class TranslogStatus
java.lang.Object
co.elastic.clients.elasticsearch.indices.recovery.TranslogStatus
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TranslogStatus extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description static TranslogStatus
of(java.util.function.Function<TranslogStatus.Builder,ObjectBuilder<TranslogStatus>> fn)
java.lang.String
percent()
Required - API name:percent
long
recovered()
Required - 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(ObjectDeserializer<TranslogStatus.Builder> op)
java.lang.String
toString()
long
total()
Required - API name:total
long
totalOnStart()
Required - API name:total_on_start
java.lang.String
totalTime()
API name:total_time
DateTime
totalTimeInMillis()
Required - API name:total_time_in_millis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTranslogStatus
-
-
Method Details
-
of
public static TranslogStatus of(java.util.function.Function<TranslogStatus.Builder,ObjectBuilder<TranslogStatus>> fn) -
percent
public final java.lang.String percent()Required - API name:percent
-
recovered
public final long recovered()Required - API name:recovered
-
total
public final long total()Required - API name:total
-
totalOnStart
public final long totalOnStart()Required - API name:total_on_start
-
totalTime
@Nullable public final java.lang.String totalTime()API name:total_time
-
totalTimeInMillis
Required - API name:total_time_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupTranslogStatusDeserializer
protected static void setupTranslogStatusDeserializer(ObjectDeserializer<TranslogStatus.Builder> op)
-