@RefreshScope @ConfigurationProperties(prefix="delay.message") public class DelayMessageProperties extends Object
DelayMessageProperties
| 构造器和说明 |
|---|
DelayMessageProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getConfigCacheMaxSize() |
java.time.Duration |
getConfigCacheTime() |
long |
getDatacenterId() |
long |
getWorkerId() |
boolean |
isMetrics() |
void |
setConfigCacheMaxSize(int configCacheMaxSize) |
void |
setConfigCacheTime(java.time.Duration configCacheTime) |
void |
setDatacenterId(long datacenterId) |
void |
setMetrics(boolean metrics) |
void |
setWorkerId(long workerId) |
public long getWorkerId()
public void setWorkerId(long workerId)
public long getDatacenterId()
public void setDatacenterId(long datacenterId)
public int getConfigCacheMaxSize()
public void setConfigCacheMaxSize(int configCacheMaxSize)
public java.time.Duration getConfigCacheTime()
public void setConfigCacheTime(java.time.Duration configCacheTime)
public boolean isMetrics()
public void setMetrics(boolean metrics)
Copyright © 2020. All rights reserved.