public final class Tps extends Object implements GsonSerializable
| Constructor and Description |
|---|
Tps(double[] values) |
Tps(double avg1,
double avg5,
double avg15) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
asArray() |
double |
avg1() |
double |
avg15() |
double |
avg5() |
static Tps |
deserialize(com.google.gson.JsonElement element) |
static String |
format(double tps) |
static boolean |
isReadSupported() |
static Tps |
read() |
com.google.gson.JsonElement |
serialize()
Serializes the object to JSON
|
String |
toFormattedString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, deserializeRaw, getDeserializeMethodpublic Tps(double avg1,
double avg5,
double avg15)
public Tps(double[] values)
public static boolean isReadSupported()
public static Tps read()
public double avg1()
public double avg5()
public double avg15()
public double[] asArray()
public String toFormattedString()
public static String format(double tps)
@Nonnull public com.google.gson.JsonElement serialize()
GsonSerializableserialize in interface GsonSerializablepublic static Tps deserialize(com.google.gson.JsonElement element)
Copyright © 2022. All rights reserved.