hu.mta.sztaki.lpds.cloud.simulator.iaas.statenotifications
Class PowerStateChangeNotificationHandler
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.iaas.statenotifications.PowerStateChangeNotificationHandler
- All Implemented Interfaces:
- SingleNotificationHandler<PowerBehaviorChangeListener,org.apache.commons.lang3.tuple.Pair<ResourceSpreader,PowerState>>
public class PowerStateChangeNotificationHandler
- extends Object
- implements SingleNotificationHandler<PowerBehaviorChangeListener,org.apache.commons.lang3.tuple.Pair<ResourceSpreader,PowerState>>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlerSingleton
private static final PowerStateChangeNotificationHandler handlerSingleton
PowerStateChangeNotificationHandler
private PowerStateChangeNotificationHandler()
getHandlerInstance
public static StateDependentEventHandler<PowerBehaviorChangeListener,org.apache.commons.lang3.tuple.Pair<ResourceSpreader,PowerState>> getHandlerInstance()
sendNotification
public void sendNotification(PowerBehaviorChangeListener onObject,
org.apache.commons.lang3.tuple.Pair<ResourceSpreader,PowerState> newPowerBehavior)
- Specified by:
sendNotification
in interface SingleNotificationHandler<PowerBehaviorChangeListener,org.apache.commons.lang3.tuple.Pair<ResourceSpreader,PowerState>>
Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.