Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Allow numeric connection properties. These means adding NUMBER to enum ConnectionProperty.Type, and getInt, getLong and getDouble methods to ConnectionConfigImpl.PropEnv.
If a numeric property has a value "10k" interpret it as 10 * 1024. The "k" or "K" suffix means 1024 multiplier, similarly "m" or "M" (1024 * 1024), "g" or "G" (1024 * 1024 * 1024).