Interface NormalizedResourcesWithMemory
- All Known Implementing Classes:
NormalizedResourceOffer
,NormalizedResourceRequest
public interface NormalizedResourcesWithMemory
Intended for
NormalizedResources
wrappers that handle memory.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if any of the resources are > 0.void
clear()
Set all resources to 0.double
-
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.
-