org.optaplanner.benchmark.impl.statistic.memoryuse

## Class MemoryUseMeasurement

- java.lang.Object
- - org.optaplanner.benchmark.impl.statistic.memoryuse.MemoryUseMeasurement

-     public class MemoryUseMeasurement
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MemoryUseMeasurement(long usedMemory, long maxMemory)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static MemoryUseMeasurement` | `create()`
    `long` | `getMaxMemory()`
    `long` | `getUsedMemory()`

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

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

- - ### Constructor Detail

    - #### MemoryUseMeasurement

          public MemoryUseMeasurement(long usedMemory,
                                      long maxMemory)

  - ### Method Detail

    - #### create

          public static MemoryUseMeasurement create()

    - #### getUsedMemory

          public long getUsedMemory()

    - #### getMaxMemory

          public long getMaxMemory()

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.