Rio Project 4.2 API Documentation



org.rioproject.sla
Class ServiceLevelAgreements

java.lang.Object
  extended by org.rioproject.sla.ServiceLevelAgreements
All Implemented Interfaces:
Serializable

public class ServiceLevelAgreements
extends Object
implements Serializable

ServiceLevelAgreements class provides context on the attributes required to meet and monitor service level agreements for a service. Included in this class are the SystemRequirements that must be met in order for the service to be provisioned, and SLA declarations that will monitor service behavior and be managed by provided service level agreement manager.

Author:
Dennis Reedy
See Also:
Serialized Form

Constructor Summary
ServiceLevelAgreements()
           
 
Method Summary
 void addServiceSLA(SLA sla)
          Add a service specified SLAs
 SLA[] getServiceSLAs()
          Get the service specified SLAs
 SystemRequirements getSystemRequirements()
           
 void setServiceRequirements(SystemRequirements systemRequirements)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceLevelAgreements

public ServiceLevelAgreements()
Method Detail

setServiceRequirements

public void setServiceRequirements(SystemRequirements systemRequirements)

getSystemRequirements

public SystemRequirements getSystemRequirements()

addServiceSLA

public void addServiceSLA(SLA sla)
Add a service specified SLAs

Parameters:
sla - An SLA specifying service specific operational criteria

getServiceSLAs

public SLA[] getServiceSLAs()
Get the service specified SLAs

Returns:
Array of service SLAs. A new array is aloocated each time. If there are no service SLAs, a zero-length array is returned

toString

public String toString()
Overrides:
toString in class Object

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.