public class MetricStore extends Object implements Serializable
| 构造器和说明 |
|---|
MetricStore() |
MetricStore(LogStore logStore) |
MetricStore(MetricStore metricStore) |
MetricStore(String name,
int ttl,
int shardCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FromJsonObject(com.alibaba.fastjson.JSONObject dict) |
void |
FromJsonString(String metricStoreString) |
int |
getCreateTime() |
int |
getHotTTL() |
int |
getInfrequentAccessTTL() |
int |
getLastModifyTime() |
int |
getMaxSplitShard() |
String |
getMode() |
String |
getName() |
int |
getShardCount() |
int |
getTtl() |
boolean |
isAppendMeta() |
boolean |
isAutoSplit() |
void |
setAppendMeta(boolean appendMeta) |
void |
setAutoSplit(boolean mAutoSplit) |
void |
setHotTTL(int hotTTL) |
void |
setInfrequentAccessTTL(int infrequentAccessTTL) |
void |
setMaxSplitShard(int mMaxSplitShard) |
void |
setMode(String mode) |
void |
setName(String name) |
void |
setShardCount(int shardCount) |
void |
setTtl(int ttl) |
com.alibaba.fastjson.JSONObject |
ToJsonObject() |
String |
ToJsonString() |
com.alibaba.fastjson.JSONObject |
ToRequestJson() |
String |
ToRequestString() |
public MetricStore()
public MetricStore(String name, int ttl, int shardCount)
public MetricStore(MetricStore metricStore)
public MetricStore(LogStore logStore)
public int getMaxSplitShard()
public void setMaxSplitShard(int mMaxSplitShard)
public boolean isAutoSplit()
public void setAutoSplit(boolean mAutoSplit)
public boolean isAppendMeta()
public void setAppendMeta(boolean appendMeta)
public String getName()
public int getTtl()
public int getShardCount()
public int getCreateTime()
public int getLastModifyTime()
public void setName(String name)
name - the metricStoreName to Setpublic void setTtl(int ttl)
ttl - the ttl to Setpublic void setShardCount(int shardCount)
shardCount - the shardCount to Setpublic int getHotTTL()
public void setHotTTL(int hotTTL)
public int getInfrequentAccessTTL()
public void setInfrequentAccessTTL(int infrequentAccessTTL)
public String getMode()
public void setMode(String mode)
public com.alibaba.fastjson.JSONObject ToRequestJson()
public String ToRequestString()
public com.alibaba.fastjson.JSONObject ToJsonObject()
public String ToJsonString()
public void FromJsonObject(com.alibaba.fastjson.JSONObject dict)
throws LogException
LogExceptionpublic void FromJsonString(String metricStoreString) throws LogException
LogExceptionCopyright © 2026. All Rights Reserved.