| 
 | Generated by JDiff | |||||||
| PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS | |||||||
| Added Methods | |
| intcastToIntSafely(long) | Convert long to int for a resource value safely. | 
| intcompareTo(Resource) | |
| StringgetFormattedString() | This method is to get memory in terms of KB|MB|GB. | 
| longgetMemorySize() | Get memory of the resource. | 
| ResourceInformationgetResourceInformation(String) | Get ResourceInformation for a specified resource. | 
| longgetResourceValue(String) | Get the value for a specified resource. | 
| ResourceInformationnewDefaultInformation(String, | Create ResourceInformation with basic fields. | 
| ResourcenewInstance(long, | |
| ResourcenewInstance(long, | Create a new Resource instance with the given CPU and memory values and additional resource values as set in the {@code others} parameter. | 
| voidsetMemorySize(long) | Set memory of the resource. | 
| voidsetResourceInformation(String, | Set the ResourceInformation object for a particular resource. | 
| voidsetResourceValue(String, | Set the value of a resource in the ResourceInformation object. | 
| voidthrowExceptionWhenArrayOutOfBound(int) | |
| Added Fields | |
| intMEMORY_INDEX | |
| intVCORES_INDEX | |
| ResourceInformation[]resources | |
| 
 | ||||||||
| PREV CLASS NEXT CLASS FRAMES NO FRAMES | ||||||||