|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.watch.ThresholdValues
org.rioproject.sla.SLA
public class SLA
A SLA provides a mechanism to a specify a preferred range of acceptable lower and upper boundaries that fit a specific criteria
| Field Summary | |
|---|---|
static int |
UNDEFINED
Undefined maximum number of services to increment to |
| Constructor Summary | |
|---|---|
SLA()
Construct a SLA |
|
SLA(String identifier,
double... range)
Construct a SLA |
|
| Method Summary | |
|---|---|
String |
getIdentifier()
Get the identifier of the ThresholdWatch this SLA is for |
long |
getLowerThresholdDampeningTime()
Get the dampening value for lower thresholds being crossed. |
int |
getMaxServices()
Get the maximum number of services |
String |
getSlaPolicyHandler()
Get the SLAPolicyHandler class name to create |
long |
getUpperThresholdDampeningTime()
Get the dampening value for upper thresholds being crossed |
WatchDescriptor[] |
getWatchDescriptors()
Get the watchDescriptors property |
void |
setIdentifier(String identifier)
Set the identifier of the ThresholdWatch this SLA is for |
void |
setLowerThresholdDampeningTime(long lowerThresholdDampeningTime)
Set the dampening value for lower thresholds being crossed |
void |
setMaxServices(int maxServices)
Set the maximum services property |
void |
setSlaPolicyHandler(String slaPolicyHandler)
Set the SLAPolicyHandler class name to create |
void |
setUpperThresholdDampeningTime(long upperThresholdDampeningTime)
Set the dampening value for upper thresholds being crossed |
void |
setWatchDescriptors(WatchDescriptor... watchDescs)
Set the watchDescriptors property |
String |
toString()
|
| Methods inherited from class org.rioproject.watch.ThresholdValues |
|---|
clone, getCurrentHighThreshold, getCurrentLowThreshold, getHighThreshold, getLowThreshold, getThresholdBreachedCount, getThresholdClearedCount, incThresholdBreachedCount, incThresholdClearedCount, resetHighThreshold, resetLowThreshold, setCurrentHighThreshold, setCurrentLowThreshold, setHighThreshold, setLowThreshold |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNDEFINED
| Constructor Detail |
|---|
public SLA()
public SLA(String identifier,
double... range)
identifier - The identifier of the ThresholdWatch class the SLA
will be paired withrange - Double values indicating the range of acceptable
lower and upper boundaries. There must be two values here, the first
the low boundary, the second te high| Method Detail |
|---|
public void setIdentifier(String identifier)
identifier - The identifier of the ThresholdWatch this SLA is for.public String getIdentifier()
public WatchDescriptor[] getWatchDescriptors()
public void setWatchDescriptors(WatchDescriptor... watchDescs)
watchDescs - The WatchDescriptor instances to set.public long getUpperThresholdDampeningTime()
public void setUpperThresholdDampeningTime(long upperThresholdDampeningTime)
upperThresholdDampeningTime - The dampening value for upper
thresholds being crossedpublic long getLowerThresholdDampeningTime()
public void setLowerThresholdDampeningTime(long lowerThresholdDampeningTime)
lowerThresholdDampeningTime - The dampening value for lower
thresholds being crossedpublic int getMaxServices()
public void setMaxServices(int maxServices)
maxServices - The maximum servicespublic String getSlaPolicyHandler()
public void setSlaPolicyHandler(String slaPolicyHandler)
slaPolicyHandler - The fully qualified class name of the
SLAPolicyHandler to createpublic String toString()
toString in class ThresholdValues
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||