|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectMUM.resourceMngService.CPUAndBandwidthResourceBroker
This interface describe the Resource Broker
| Constructor Summary | |
CPUAndBandwidthResourceBroker(Path path,
int bandAmount)
Constructor |
|
| Method Summary | |
void |
addCPUStatusListener(ICPUStatusListener cpuListener)
This method let the QoS managers to register themselves as listener for the CPU status events. |
IResourceResponse |
isResources(IResourceRequest currReq)
This method verifies if there are enough resource for the request and returns a responce. |
protected void |
notifyCPUStatus(CPUStatusEvent event)
This method is called to notify the listeners of the CPU status |
void |
removeCPUStatusListener(ICPUStatusListener cpuListener)
This method let the cpu status listeners to de-register themselves as listener for the CPU status events. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CPUAndBandwidthResourceBroker(Path path,
int bandAmount)
| Method Detail |
public IResourceResponse isResources(IResourceRequest currReq)
isResources in interface IResourceBrokerpublic void addCPUStatusListener(ICPUStatusListener cpuListener)
addCPUStatusListener in interface ICPUStatusNotifierpublic void removeCPUStatusListener(ICPUStatusListener cpuListener)
removeCPUStatusListener in interface ICPUStatusNotifierprotected void notifyCPUStatus(CPUStatusEvent event)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||