public class VmStateHistoryEntry extends Object
Constructor and Description |
---|
VmStateHistoryEntry(double time,
double allocatedMips,
double requestedMips,
boolean inMigration)
Instantiates a new VmStateHistoryEntry
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
getAllocatedMips()
Gets the allocated mips.
|
double |
getRequestedMips()
Gets the requested mips.
|
double |
getTime()
Gets the time.
|
int |
hashCode() |
boolean |
isInMigration()
Checks if the Vm is in migration for the current history.
|
protected void |
setAllocatedMips(double allocatedMips)
Sets the allocated mips.
|
protected void |
setInMigration(boolean inMigration)
Defines if the Vm is in migration for the current history.
|
protected void |
setRequestedMips(double requestedMips)
Sets the requested mips.
|
protected void |
setTime(double time)
Sets the time.
|
public VmStateHistoryEntry(double time, double allocatedMips, double requestedMips, boolean inMigration)
time
- the timeallocatedMips
- the allocated mipsrequestedMips
- the requested mipsinMigration
- the is in migrationprotected final void setTime(double time)
time
- the new timepublic double getTime()
protected final void setAllocatedMips(double allocatedMips)
allocatedMips
- the new allocated mipspublic double getAllocatedMips()
protected final void setRequestedMips(double requestedMips)
requestedMips
- the new requested mipspublic double getRequestedMips()
protected final void setInMigration(boolean inMigration)
inMigration
- true if the Vm is in migration, false otherwisepublic boolean isInMigration()
Copyright © 2015–2019 Systems, Security and Image Communication Lab - Instituto de Telecomunica����es (IT) - Universidade da Beira Interior (UBI) - Instituto Federal de Educa����o Ci��ncia e Tecnologia do Tocantins (IFTO). All rights reserved.