oshi.software.os.windows.nt

## Class GlobalMemory

- java.lang.Object
- - oshi.software.os.windows.nt.GlobalMemory

- All Implemented Interfaces:
    Memory

      public class GlobalMemory
      extends java.lang.Object
      implements Memory

  Memory obtained by GlobalMemoryStatusEx.
  Author:
    dblock[at]dblock[dot]org

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GlobalMemory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getAvailable()` Currently available.
    `long` | `getTotal()` Total memory.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GlobalMemory

          public GlobalMemory()

  - ### Method Detail

    - #### getAvailable

          public long getAvailable()

      Description copied from interface: `Memory`
      Currently available.
      Specified by:
        `getAvailable` in interface `Memory`
      Returns:
        Available number of bytes.

    - #### getTotal

          public long getTotal()

      Description copied from interface: `Memory`
      Total memory.
      Specified by:
        `getTotal` in interface `Memory`
      Returns:
        Total number of bytes.