public class Metric extends Object implements Serializable
| Constructor and Description |
|---|
Metric() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getTimestamp()
タイムスタンプ(エポック秒)を取得
|
Double |
getValue()
値を取得
|
void |
setTimestamp(Integer timestamp)
タイムスタンプ(エポック秒)を設定
|
void |
setValue(Double value)
値を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Metric |
withTimestamp(Integer timestamp)
タイムスタンプ(エポック秒)を設定
|
Metric |
withValue(Double value)
値を設定
|
public Integer getTimestamp()
public void setTimestamp(Integer timestamp)
timestamp - タイムスタンプ(エポック秒)public Metric withTimestamp(Integer timestamp)
timestamp - タイムスタンプ(エポック秒)public Double getValue()
public void setValue(Double value)
value - 値public com.fasterxml.jackson.databind.node.ObjectNode toJson()
Copyright © 2016 Game Server Services, Inc. AllRights Reserved.