StringUtilsToBandwidthString Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Format the passed bandwidth (in bytes per second) as a String.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic static string ToBandwidthString(
long bps,
bool isExact
)
Parameters
- bps
- Type: SystemInt64
The number of bytes per second.
- isExact
- Type: SystemBoolean
true if the String representation must be exact, or
false if it can be an approximation.
Return Value
Type:
String
A String representation of the given bandwidth.
Remarks
This method will possibly round the memory size for purposes of
producing a more-easily read String value unless the
isExact parameter is passed as true.
See Also