public final class GuestOSMemoryUsage extends Object
| Constructor and Description |
|---|
GuestOSMemoryUsage()
Creates a new
GuestOSMemoryUsage instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares the argument to the receiver, and answers true
if they represent the same object using a class
specific comparison.
|
static GuestOSMemoryUsage |
from(CompositeData cd)
Receives a
CompositeData representing a GuestOSMemoryUsage
object and attempts to return the root GuestOSMemoryUsage instance. |
long |
getMaxMemLimit()
The amount of real Memory allowed to be used by the Guest as reported by the Hypervisor in MB.
|
long |
getMemUsed()
The total Memory used by the Guest as reported by the Hypervisor in MB.
|
long |
getTimestamp()
The timestamp when the usage statistics were last sampled in microseconds.
|
int |
hashCode()
Answers an integer hash code for the receiver.
|
String |
toString()
Text description of this
GuestOSMemoryUsage object. |
public GuestOSMemoryUsage()
GuestOSMemoryUsage instance.public long getMemUsed()
public long getTimestamp()
public long getMaxMemLimit()
public static GuestOSMemoryUsage from(CompositeData cd)
CompositeData representing a GuestOSMemoryUsage
object and attempts to return the root GuestOSMemoryUsage instance.cd - A CompositeData that represents a
GuestOSMemoryUsage.cd is non- null, returns a new instance of
GuestOSMemoryUsage, If cd
is null, returns null.IllegalArgumentException - if argument cd does not correspond to a
GuestOSMemoryUsage with the following attributes:
memUsed(java.lang.Long)timestamp(java.lang.Long)maxMemLimit(java.lang.Long)public String toString()
GuestOSMemoryUsage object.toString in class ObjectGuestOSMemoryUsage object.public boolean equals(Object obj)
equals in class Objectobj - Object
the object to compare with this object.true
if the object is the same as this object
false
if it is different from this object.Object.hashCode()public int hashCode()
true when passed to
.equals must answer the same value for this
method.hashCode in class ObjectObject.equals(java.lang.Object)Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2025 IBM Corp. and others.
DRAFT internal-b00