public class ConfigData extends Object
ConfigProvider.| Constructor and Description |
|---|
ConfigData(Map<String,String> data)
Creates a new ConfigData with the given data.
|
ConfigData(Map<String,String> data,
Long ttl)
Creates a new ConfigData with the given data and TTL (in milliseconds).
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
data()
Returns the data.
|
Long |
ttl()
Returns the TTL (in milliseconds).
|