@ConfigurationProperties(prefix="spring.snowflake") public class SnowflakeProperties extends Object
Description:
| 构造器和说明 |
|---|
SnowflakeProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCacheKey() |
int |
getDataCenterId() |
long |
getTwepochTimestamp() |
void |
setCacheKey(String cacheKey) |
void |
setDataCenterId(int dataCenterId) |
void |
setTwepochTimestamp(long twepochTimestamp) |
public String getCacheKey()
public void setCacheKey(String cacheKey)
public int getDataCenterId()
public void setDataCenterId(int dataCenterId)
public long getTwepochTimestamp()
public void setTwepochTimestamp(long twepochTimestamp)
Copyright © 2021. All rights reserved.