Capacity Class
Namespace: Hazelcast.Models
Assembly: Hazelcast.Net.dll
Represents a memory capacity.
public class Capacity
Inherited Members
Constructors
Name | Description |
---|---|
Capacity(long) | Initializes a new instance of the Capacity class. |
Capacity(long, Memory |
Initializes a new instance of the Capacity class. |
Properties
Name | Description |
---|---|
Bytes | Gets the value of the capacity in bytes. |
Giga |
Gets the value of the capacity in giga-bytes. |
Kilo |
Gets the value of the capacity in kilo-bytes. |
Mega |
Gets the value of the capacity in mega-bytes. |
Unit | Gets the memory capacity unit. |
Value | Gets the memory capacity expressed in Unit. |
Methods
Name | Description |
---|---|
Of(long, Memory |
Creates a new instance of the Capacity class. |
Parse(string) | Parses the string representation of a capacity. |
Parse(string, Memory |
Parses the string representation of a capacity. |
To |
Formats this capacity. |
To |
Formats the capacity. |
To |
Formats the capacity. |
To |
Returns a string that represents the current object. |