Interface NormalizedResourcesWithMemory
-
- All Known Implementing Classes:
NormalizedResourceOffer,NormalizedResourceRequest
public interface NormalizedResourcesWithMemoryIntended forNormalizedResourceswrappers that handle memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanareAnyOverZero()Return true if any of the resources are > 0.voidclear()Set all resources to 0.NormalizedResourcesgetNormalizedResources()doublegetTotalMemoryMb()
-
-
-
Method Detail
-
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.
-
-