org.iids.aos.hostmanager.negotiationmodule.resourcehandlers
Class runtimeResourceHandler
java.lang.Object
org.iids.aos.hostmanager.negotiationmodule.resourcehandlers.AbstractResourceHandler
org.iids.aos.hostmanager.negotiationmodule.resourcehandlers.runtimeResourceHandler
- All Implemented Interfaces:
- java.lang.Runnable, BasicResourceHandler
public class runtimeResourceHandler
- extends AbstractResourceHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MONITOR_AMOUNT_USED
public static final java.lang.Integer MONITOR_AMOUNT_USED
MONITOR_LANGUAGE_SUPPORTED
public static final java.lang.Integer MONITOR_LANGUAGE_SUPPORTED
runtimeResourceHandler
public runtimeResourceHandler(java.lang.String handlerID,
AgentScapeID providerID,
Language language)
getLanguage
public Language getLanguage()
getMonitorValue
public java.lang.Object getMonitorValue(java.lang.Integer descriptor)
throws MonitorException
- Specified by:
getMonitorValue in interface BasicResourceHandler- Specified by:
getMonitorValue in class AbstractResourceHandler
- Throws:
MonitorException
getStatus
public int getStatus(int refID)
- Specified by:
getStatus in interface BasicResourceHandler- Specified by:
getStatus in class AbstractResourceHandler
reserve
public int reserve(AgreementOffer request)
throws ReservationException
- Specified by:
reserve in interface BasicResourceHandler- Specified by:
reserve in class AbstractResourceHandler
- Throws:
ReservationException
implement
public void implement(int refID,
AlarmQueue violationQueue)
throws HandlerException
- Specified by:
implement in interface BasicResourceHandler- Specified by:
implement in class AbstractResourceHandler
- Throws:
HandlerException
release
public void release(int refID)
throws HandlerException
- Specified by:
release in interface BasicResourceHandler- Specified by:
release in class AbstractResourceHandler
- Throws:
HandlerException
run
public void run()
Copyright © 2003, 2004 IIDS Group. All Rights Reserved.