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 class
RecoveryStats.Builder
Builder forRecoveryStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RecoveryStats>
_DESERIALIZER
Json deserializer forRecoveryStats
-
Method Summary
Modifier and Type Method Description long
currentAsSource()
Required - API name:current_as_source
long
currentAsTarget()
Required - API name:current_as_target
static RecoveryStats
of(java.util.function.Function<RecoveryStats.Builder,ObjectBuilder<RecoveryStats>> fn)
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
setupRecoveryStatsDeserializer(ObjectDeserializer<RecoveryStats.Builder> op)
java.lang.String
throttleTime()
API name:throttle_time
long
throttleTimeInMillis()
Required - API name:throttle_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 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupRecoveryStatsDeserializer
-