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 classTranslogStatus.BuilderBuilder forTranslogStatus. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TranslogStatus>_DESERIALIZERJson deserializer forTranslogStatus -
Method Summary
Modifier and Type Method Description static TranslogStatusof(java.util.function.Function<TranslogStatus.Builder,ObjectBuilder<TranslogStatus>> fn)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(ObjectDeserializer<TranslogStatus.Builder> op)java.lang.StringtoString()longtotal()Required - API name:totallongtotalOnStart()Required - API name:total_on_startjava.lang.StringtotalTime()API name:total_timeDateTimetotalTimeInMillis()Required - API name:total_time_in_millisMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTranslogStatusDeserializer
protected static void setupTranslogStatusDeserializer(ObjectDeserializer<TranslogStatus.Builder> op)
-