Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Format the passed bandwidth (in bytes per second) as a String.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static string ToBandwidthString(
	long bps,
	bool isExact
)

Parameters

bps
Type: System..::.Int64
The number of bytes per second.
isExact
Type: System..::.Boolean
true if the String representation must be exact, or false if it can be an approximation.

Return Value

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