public class HostStateHistoryEntry
extends java.lang.Object
| Constructor and Description |
|---|
HostStateHistoryEntry(double time,
double allocatedMips,
double requestedMips,
boolean isActive)
Instantiates a new vm mips allocation history entry.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAllocatedMips()
Gets the allocated mips.
|
double |
getRequestedMips()
Gets the requested mips.
|
double |
getTime()
Gets the time.
|
boolean |
isActive()
Checks if is active.
|
void |
setActive(boolean isActive)
Sets the active.
|
protected void |
setAllocatedMips(double allocatedMips)
Sets the allocated mips.
|
protected void |
setRequestedMips(double requestedMips)
Sets the requested mips.
|
protected void |
setTime(double time)
Sets the time.
|
public HostStateHistoryEntry(double time,
double allocatedMips,
double requestedMips,
boolean isActive)
time - the timeallocatedMips - the allocated mipsrequestedMips - the requested mipsisActive - the is activeprotected void setTime(double time)
time - the new timepublic double getTime()
protected void setAllocatedMips(double allocatedMips)
allocatedMips - the new allocated mipspublic double getAllocatedMips()
protected void setRequestedMips(double requestedMips)
requestedMips - the new requested mipspublic double getRequestedMips()
public void setActive(boolean isActive)
isActive - the new activepublic boolean isActive()