|
GigaSpaces XAP 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.pu.sla.monitor.AbstractMonitor
org.openspaces.pu.sla.monitor.BeanPropertyMonitor
public class BeanPropertyMonitor
The bean property monitor allows to register a Spring bean reference and a proeprty name which will be monitored at a scheduled interval by invoking it.
| Constructor Summary | |
|---|---|
BeanPropertyMonitor()
|
|
| Method Summary | |
|---|---|
String |
getPropertyName()
The property name of the given bean that will be monitored. |
String |
getRef()
The registered bean reference that will be monitored. |
double |
getValue()
The value of the monitor. |
void |
setApplicationContext(ApplicationContext applicationContext)
|
void |
setPropertyName(String propertyName)
Sets the property name of the given bean that will be monitored. |
void |
setRef(String ref)
Sets the registered bean reference that will be monitored. |
| Methods inherited from class org.openspaces.pu.sla.monitor.AbstractMonitor |
|---|
getHistorySize, getName, getPeriod, setHistorySize, setName, setPeriod |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openspaces.pu.sla.monitor.Monitor |
|---|
getHistorySize, getName, getPeriod |
| Constructor Detail |
|---|
public BeanPropertyMonitor()
| Method Detail |
|---|
public void setRef(String ref)
public String getRef()
public void setPropertyName(String propertyName)
public String getPropertyName()
public void setApplicationContext(ApplicationContext applicationContext)
setApplicationContext in interface ApplicationContextMonitorpublic double getValue()
Monitor
getValue in interface Monitor
|
GigaSpaces XAP 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||