Rio Project 4.2 API Documentation
org.rioproject.sla
Class ServiceLevelAgreements
java.lang.Object
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
ServiceLevelAgreements
public ServiceLevelAgreements()
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 © 2006-2011 Rio Project. All Rights Reserved.