Package org.apache.storm.scheduler.resource.normalization

# Interface NormalizedResourcesWithMemory

All Known Implementing Classes:
  `NormalizedResourceOffer`, `NormalizedResourceRequest`

public interface NormalizedResourcesWithMemory
Intended for `NormalizedResources` wrappers that handle memory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `areAnyOverZero()`
  Return true if any of the resources are > 0.
  `void`
  `clear()`
  Set all resources to 0.
  `NormalizedResources`
  `getNormalizedResources()`
  `double`
  `getTotalMemoryMb()`

- ## Method Details

  - ### getNormalizedResources

    NormalizedResources getNormalizedResources()

  - ### getTotalMemoryMb

    double getTotalMemoryMb()

  - ### clear

    void clear()
    Set all resources to 0.

  - ### areAnyOverZero

    boolean areAnyOverZero()
    Return true if any of the resources are > 0.