Class WarmerStats
- java.lang.Object
-
- org.opensearch.client.opensearch._types.WarmerStats
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class WarmerStats extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WarmerStats.Builder
Builder forWarmerStats
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WarmerStats>
_DESERIALIZER
Json deserializer forWarmerStats
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
current()
Required - API name:current
static WarmerStats
of(java.util.function.Function<WarmerStats.Builder,ObjectBuilder<WarmerStats>> 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
setupWarmerStatsDeserializer(ObjectDeserializer<WarmerStats.Builder> op)
long
total()
Required - API name:total
java.lang.String
totalTime()
API name:total_time
long
totalTimeInMillis()
Required - API name:total_time_in_millis
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<WarmerStats> _DESERIALIZER
Json deserializer forWarmerStats
-
-
Method Detail
-
of
public static WarmerStats of(java.util.function.Function<WarmerStats.Builder,ObjectBuilder<WarmerStats>> fn)
-
current
public final long current()
Required - API name:current
-
total
public final long total()
Required - API name:total
-
totalTime
@Nullable public final java.lang.String totalTime()
API name:total_time
-
totalTimeInMillis
public final long totalTimeInMillis()
Required - API name:total_time_in_millis
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupWarmerStatsDeserializer
protected static void setupWarmerStatsDeserializer(ObjectDeserializer<WarmerStats.Builder> op)
-
-