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