|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComputeResourceAdmin
The ComputeResourceAdmin provides an administrative interface for a ComputeResource
| Method Summary | |
|---|---|
ComputeResourceUtilization |
getComputeResourceUtilization()
Get the ComputeResourceUtilization for the
compute resource |
ComputeResourceUtilization |
getComputeResourceUtilization(Uuid serviceUuid)
Get the ComputeResourceUtilization for an
instantiated service |
MeasuredResource[] |
getMeasuredResources()
Get the MeasuredResource components for the ComputeResource |
PlatformCapability[] |
getPlatformCapabilties()
Get the PlatformCapability components for the ComputeResource |
long |
getReportInterval()
Get the reportInterval property which controls how often the ComputeResource will inform registered Observers of a state change. |
ResourceCapability |
getResourceCapability()
Get the ResourceCapability for the
compute resource |
SLA[] |
getSLAs()
Get the system SLAs which provide control information for the MeasurableCapability components the ComputeResource contains |
double |
getUtilization()
Get the resource's utilization. |
void |
setReportInterval(long reportInterval)
Set the reportInterval property which controls how often the ComputeResource will inform registered Observers of a state change. |
boolean |
setSLA(SLA serviceLevelAgreement)
Set the SLA for a MeasurableCapability contained within the ComputeResource |
| Method Detail |
|---|
boolean setSLA(SLA serviceLevelAgreement)
throws RemoteException
serviceLevelAgreement - The SLA for the ComputeResource
RemoteException - If communication errors occur
SLA[] getSLAs()
throws RemoteException
RemoteException - If communication errors occur
PlatformCapability[] getPlatformCapabilties()
throws RemoteException
RemoteException - If communication errors occur
MeasuredResource[] getMeasuredResources()
throws RemoteException
RemoteException - If communication errors occur
double getUtilization()
throws RemoteException
RemoteException - If communication errors occur
ResourceCapability getResourceCapability()
throws RemoteException
ResourceCapability for the
compute resource
RemoteException - If communication errors occur
ComputeResourceUtilization getComputeResourceUtilization()
throws RemoteException
ComputeResourceUtilization for the
compute resource
RemoteException - If communication errors occur
ComputeResourceUtilization getComputeResourceUtilization(Uuid serviceUuid)
throws RemoteException
ComputeResourceUtilization for an
instantiated service
serviceUuid - The Uuid of an instantiated service
getComputeResourceUtilization().
If the identified service has been executed in it's own process, the returned value will represent the ComputeResourceUtilization for that process.
If no instantiated service can be found, a null is returned.
RemoteException - If communication errors occur
long getReportInterval()
throws RemoteException
RemoteException - If communication errors occur
void setReportInterval(long reportInterval)
throws RemoteException
Note: MeasurableCapability components contained within the ComputeResource may have reportRates greater than then the reportInterval. If this is the case, the ComputeResource will only report state changes if the values reported by the contained MeasurableCapability objects change.
reportInterval - The interval controlling when the ComputeResource
reports change of state to registered Observers
IllegalArgumentException - if the reportInterval < 0
RemoteException - If communication errors occur
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||