Class RecoveryStats
java.lang.Object
co.elastic.clients.elasticsearch._types.RecoveryStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class RecoveryStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecoveryStats.BuilderBuilder forRecoveryStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RecoveryStats>_DESERIALIZERJson deserializer forRecoveryStats -
Method Summary
Modifier and Type Method Description longcurrentAsSource()Required - API name:current_as_sourcelongcurrentAsTarget()Required - API name:current_as_targetstatic RecoveryStatsof(java.util.function.Function<RecoveryStats.Builder,ObjectBuilder<RecoveryStats>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupRecoveryStatsDeserializer(ObjectDeserializer<RecoveryStats.Builder> op)java.lang.StringthrottleTime()API name:throttle_timelongthrottleTimeInMillis()Required - API name:throttle_time_in_millisjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRecoveryStats
-
-
Method Details
-
of
public static RecoveryStats of(java.util.function.Function<RecoveryStats.Builder,ObjectBuilder<RecoveryStats>> fn) -
currentAsSource
public final long currentAsSource()Required - API name:current_as_source -
currentAsTarget
public final long currentAsTarget()Required - API name:current_as_target -
throttleTime
@Nullable public final java.lang.String throttleTime()API name:throttle_time -
throttleTimeInMillis
public final long throttleTimeInMillis()Required - API name:throttle_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
-
setupRecoveryStatsDeserializer
-