|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ResourceConsumption.ConsumptionEvent
This interface allows its implementors to get notified when a consumption completes. Note: the objects will only receive a single call on the below interfaces depending on the outcome of the resouece consumption's execution.
Method Summary | |
---|---|
void |
conCancelled(ResourceConsumption problematic)
This function is called when the resource consumption cannot be handled properly - if a consumption is suspended (allowing its migration to some other consumers/providers then this function is not called. |
void |
conComplete()
This function is called when the resource consumption represented by the ResourceConsumption object is fulfilled |
Method Detail |
---|
void conComplete()
void conCancelled(ResourceConsumption problematic)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |