@Nullable fun getDefaultLong(key: String): Long?
(source)
Get a default value from this configuration as a long.
key
- A configuration key (e.g. "server.address.port"
).
InvalidConfigurationPropertyTypeException
- If the default value is not a long.
Return
The value, or null if no default was available.