Constructor and Description |
---|
AllocateEvent(VM vmId,
String rcId,
int amount)
Make a new event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Model i)
Apply the event on a given model.
|
boolean |
equals(Object o) |
int |
getAmount()
Get the amount of resources to allocate to the VM.
|
String |
getResourceId()
Get the resource identifier.
|
VM |
getVM()
Get the VM to involved in the action.
|
int |
hashCode() |
String |
toString() |
Object |
visit(ActionVisitor v)
Notify a visitor to visit the action.
|
public VM getVM()
VMEvent
public String getResourceId()
public int getAmount()
public boolean apply(Model i)
Event
public Object visit(ActionVisitor v)
Event
Copyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.