Class GarbageCollectorTotal
java.lang.Object
co.elastic.clients.elasticsearch.nodes.GarbageCollectorTotal
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GarbageCollectorTotal extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GarbageCollectorTotal.Builder
Builder forGarbageCollectorTotal
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GarbageCollectorTotal>
_DESERIALIZER
Json deserializer forGarbageCollectorTotal
-
Constructor Summary
Constructors Constructor Description GarbageCollectorTotal(GarbageCollectorTotal.Builder builder)
GarbageCollectorTotal(java.util.function.Function<GarbageCollectorTotal.Builder,GarbageCollectorTotal.Builder> fn)
-
Method Summary
Modifier and Type Method Description long
collectionCount()
Required - API name:collection_count
java.lang.String
collectionTime()
Required - API name:collection_time
long
collectionTimeInMillis()
Required - API name:collection_time_in_millis
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
setupGarbageCollectorTotalDeserializer(DelegatingDeserializer<GarbageCollectorTotal.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGarbageCollectorTotal
-
-
Constructor Details
-
GarbageCollectorTotal
-
GarbageCollectorTotal
public GarbageCollectorTotal(java.util.function.Function<GarbageCollectorTotal.Builder,GarbageCollectorTotal.Builder> fn)
-
-
Method Details
-
collectionCount
public long collectionCount()Required - API name:collection_count
-
collectionTime
public java.lang.String collectionTime()Required - API name:collection_time
-
collectionTimeInMillis
public long collectionTimeInMillis()Required - API name:collection_time_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGarbageCollectorTotalDeserializer
protected static void setupGarbageCollectorTotalDeserializer(DelegatingDeserializer<GarbageCollectorTotal.Builder> op)
-