hu.mta.sztaki.lpds.cloud.simulator.iaas.resourcemodel
Interface ResourceConsumption.ConsumptionEvent

All Known Implementing Classes:
ConsumptionEventAdapter, VirtualMachine.InitialTransferEvent
Enclosing class:
ResourceConsumption

public static interface ResourceConsumption.ConsumptionEvent

This interface allows its implementors to get notified when a consumption completes.

Author:
"Gabor Kecskemeti, Distributed and Parallel Systems Group, University of Innsbruck (c) 2013"

Method Summary
 void conCancelled(ResourceConsumption problematic)
          This function is called when the resource consumption cannot be handled properly
 void conComplete()
          This function is called when the resource consumption represented by the ResourceConsumption object is fulfilled
 

Method Detail

conComplete

void conComplete()
This function is called when the resource consumption represented by the ResourceConsumption object is fulfilled


conCancelled

void conCancelled(ResourceConsumption problematic)
This function is called when the resource consumption cannot be handled properly



Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.