|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.jini.core.event.RemoteEvent
org.rioproject.event.RemoteServiceEvent
org.rioproject.watch.ThresholdEvent
org.rioproject.sla.SLAThresholdEvent
public class SLAThresholdEvent
The SLAThresholdEvent extends ThresholdEvent and represents a threshold being crossed for a Service
| Field Summary | |
|---|---|
static long |
ID
Unique ID |
| Fields inherited from class org.rioproject.watch.ThresholdEvent |
|---|
BREACHED, CLEARED |
| Fields inherited from class org.rioproject.event.RemoteServiceEvent |
|---|
date |
| Fields inherited from class net.jini.core.event.RemoteEvent |
|---|
eventID, handback, seqNum, source |
| Constructor Summary | |
|---|---|
SLAThresholdEvent(Object source,
ServiceElement sElem,
Calculable calculable,
SLA sla,
String slaPolicyHandlerDescription,
String hostAddress,
int type)
Creates new SLAThresholdEvent |
|
SLAThresholdEvent(Object source,
ServiceElement sElem,
ServiceBeanInstance instance,
Calculable calculable,
SLA sla,
String slaPolicyHandlerDescription,
String hostAddress,
int type)
Creates new SLAThresholdEvent |
|
| Method Summary | |
|---|---|
static EventDescriptor |
getEventDescriptor()
Helper method to return the EventDescriptor for this event |
String |
getHostAddress()
Getter for property hostAddress |
ServiceBeanInstance |
getServiceBeanInstance()
Get the ServiceBeanInstance |
ServiceElement |
getServiceElement()
Getter for property sElem |
SLA |
getSLA()
Getter for property sla |
String |
getSLAPolicyHandlerDescription()
Getter for property slaPolicyHandlerDescription |
void |
setHostAddress(String hostAddress)
Setter for property hostAddress |
void |
setServiceElement(ServiceElement sElem)
Setter for property sElem |
void |
setSLA(SLA sla)
Setter for property sla |
void |
setSLAPolicyHandlerDescription(String slaPolicyHandlerDescription)
Setter for property slaPolicyHandlerDescription |
| Methods inherited from class org.rioproject.watch.ThresholdEvent |
|---|
getCalculable, getDetail, getThresholdValues, getType, setCalculable, setDetail, setThresholdValues, setType |
| Methods inherited from class org.rioproject.event.RemoteServiceEvent |
|---|
getDate, setEventID, setHandback, setSequenceNumber |
| Methods inherited from class net.jini.core.event.RemoteEvent |
|---|
getID, getRegistrationObject, getSequenceNumber |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long ID
| Constructor Detail |
|---|
public SLAThresholdEvent(Object source,
ServiceElement sElem,
Calculable calculable,
SLA sla,
String slaPolicyHandlerDescription,
String hostAddress,
int type)
source - The event sourcesElem - The ServiceElement for the servicecalculable - New value of property calculablesla - The slaslaPolicyHandlerDescription - = Description of the SLAPolicyHandlerhostAddress - The TCP/IP address of the ComputeResourcetype - The type of event, breached or cleared
public SLAThresholdEvent(Object source,
ServiceElement sElem,
ServiceBeanInstance instance,
Calculable calculable,
SLA sla,
String slaPolicyHandlerDescription,
String hostAddress,
int type)
source - The event sourcesElem - The ServiceElement for the serviceinstance - The ServiceBeanInstancecalculable - New value of property calculablesla - The slaslaPolicyHandlerDescription - = Description of the SLAPolicyHandlerhostAddress - The TCP/IP address of the ComputeResourcetype - The type of event, breached or cleared| Method Detail |
|---|
public ServiceElement getServiceElement()
public void setServiceElement(ServiceElement sElem)
sElem - New value of property sElempublic SLA getSLA()
public void setSLA(SLA sla)
sla - New value of property slapublic String getSLAPolicyHandlerDescription()
public void setSLAPolicyHandlerDescription(String slaPolicyHandlerDescription)
slaPolicyHandlerDescription - New value of property
slaPolicyHandlerDescriptionpublic String getHostAddress()
public void setHostAddress(String hostAddress)
hostAddress - New value of property hostAddresspublic ServiceBeanInstance getServiceBeanInstance()
public static EventDescriptor getEventDescriptor()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||