.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    Capacity Class

    Namespace: Hazelcast.Models
    Assembly: Hazelcast.Net.dll

    Represents a memory capacity.

    public class Capacity
    Inheritance
    object
    Capacity
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)

    Constructors

    Name Description
    Capacity(long)

    Initializes a new instance of the Capacity class.

    Capacity(long, MemoryUnit)

    Initializes a new instance of the Capacity class.

    Properties

    Name Description
    Bytes

    Gets the value of the capacity in bytes.

    GigaBytes

    Gets the value of the capacity in giga-bytes.

    KiloBytes

    Gets the value of the capacity in kilo-bytes.

    MegaBytes

    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, MemoryUnit)

    Creates a new instance of the Capacity class.

    Parse(string)

    Parses the string representation of a capacity.

    Parse(string, MemoryUnit)

    Parses the string representation of a capacity.

    ToPrettyString()

    Formats this capacity.

    ToPrettyString(long)

    Formats the capacity.

    ToPrettyString(long, MemoryUnit)

    Formats the capacity.

    ToString()

    Returns a string that represents the current object.

    In this article
    • Constructors
    • Properties
    • Methods
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.