public interface NormalizedResourcesWithMemory
Intended for NormalizedResources
wrappers that handle memory.
Modifier and Type | Method and Description |
---|---|
boolean |
areAnyOverZero()
Return true if any of the resources are > 0.
|
void |
clear()
Set all resources to 0.
|
NormalizedResources |
getNormalizedResources() |
double |
getTotalMemoryMb() |
NormalizedResources getNormalizedResources()
double getTotalMemoryMb()
void clear()
Set all resources to 0.
boolean areAnyOverZero()
Return true if any of the resources are > 0.
Copyright © 2019 The Apache Software Foundation. All rights reserved.