Class GarbageCollectorTotal
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.GarbageCollectorTotal
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GarbageCollectorTotal.Builder,GarbageCollectorTotal>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GarbageCollectorTotal
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GarbageCollectorTotal.Builder,GarbageCollectorTotal>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GarbageCollectorTotal> Json deserializer forGarbageCollectorTotal -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final LongTotal number of JVM garbage collectors that collect objects.final TimeTotal time spent by JVM collecting objects.final LongTotal time, in milliseconds, spent by JVM collecting objects.booleaninthashCode()static GarbageCollectorTotalvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGarbageCollectorTotal
-
-
Method Details
-
of
public static GarbageCollectorTotal of(Function<GarbageCollectorTotal.Builder, ObjectBuilder<GarbageCollectorTotal>> fn) -
collectionCount
Total number of JVM garbage collectors that collect objects.API name:
collection_count -
collectionTime
Total time spent by JVM collecting objects.API name:
collection_time -
collectionTimeInMillis
Total time, in milliseconds, spent by JVM collecting objects.API name:
collection_time_in_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GarbageCollectorTotal.Builder,GarbageCollectorTotal> - Returns:
- a new builder instance.
-
builder
-
setupGarbageCollectorTotalDeserializer
protected static void setupGarbageCollectorTotalDeserializer(ObjectDeserializer<GarbageCollectorTotal.Builder> op) -
hashCode
public int hashCode() -
equals
-