Class GarbageCollector
java.lang.Object
co.elastic.clients.elasticsearch.nodes.GarbageCollector
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GarbageCollector extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGarbageCollector.BuilderBuilder forGarbageCollector. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GarbageCollector>_DESERIALIZERJson deserializer forGarbageCollector -
Constructor Summary
Constructors Constructor Description GarbageCollector(GarbageCollector.Builder builder)GarbageCollector(java.util.function.Function<GarbageCollector.Builder,GarbageCollector.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,GarbageCollectorTotal>collectors()Required - API name:collectorsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGarbageCollectorDeserializer(DelegatingDeserializer<GarbageCollector.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 forGarbageCollector
-
-
Constructor Details
-
GarbageCollector
-
GarbageCollector
public GarbageCollector(java.util.function.Function<GarbageCollector.Builder,GarbageCollector.Builder> fn)
-
-
Method Details
-
collectors
Required - API name:collectors -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGarbageCollectorDeserializer
protected static void setupGarbageCollectorDeserializer(DelegatingDeserializer<GarbageCollector.Builder> op)
-