public class MetricsQueryInfo extends MychainObject
| 构造器和说明 |
|---|
MetricsQueryInfo()
Instantiates a new Metrics query info.
|
MetricsQueryInfo(BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger granularity,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger saveDuration,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger startTime,
List<List<MetricsQueryInfoDetail>> queryInfo)
Instantiates a new Metrics query info.
|
toStringpublic MetricsQueryInfo(BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger granularity, BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger saveDuration, BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger startTime, List<List<MetricsQueryInfoDetail>> queryInfo)
granularity - the granularitysaveDuration - the save durationstartTime - the start timequeryInfo - the query infopublic MetricsQueryInfo()
public BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger getGranularity()
public void setGranularity(BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger granularity)
granularity - the granularitypublic BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger getSaveDuration()
public void setSaveDuration(BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger saveDuration)
saveDuration - the save durationpublic BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger getStartTime()
public void setStartTime(BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger startTime)
startTime - the start timepublic List<List<MetricsQueryInfoDetail>> getQueryInfo()
public void setQueryInfo(List<List<MetricsQueryInfoDetail>> queryInfo)
queryInfo - the query infopublic byte[] toRlp()
toRlp 在类中 MychainObjectpublic void fromRlp(RlpList list)
fromRlp 在类中 MychainObjectlist - the rlp bytespublic void toJson(com.alibaba.fastjson.JSONObject jsonObject)
toJson 在类中 MychainObjectjsonObject - the json objectpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在类中 MychainObjectjsonObject - the json objectCopyright © 2022. All rights reserved.