public class UDDIServiceCounter extends Object implements DynamicMBean, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
RESET_COUNTER |
| Constructor and Description |
|---|
UDDIServiceCounter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String attribute) |
AttributeList |
getAttributes(String[] attributes) |
MBeanInfo |
getMBeanInfo() |
void |
initList(Class klass,
List<String> queries) |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
protected void |
registerMBean() |
void |
resetCounts() |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList attributes) |
void |
update(UDDIQuery queryObject,
QueryStatus queryStatus,
long procTime)
This updates the performance metrics for a given service.
|
public static final String RESET_COUNTER
protected void registerMBean()
public void resetCounts()
public void update(UDDIQuery queryObject, QueryStatus queryStatus, long procTime)
queryObject - the item that was executedqueryStatus - success or fail statusprocTime - Expects time in millisecondspublic Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionReflectionExceptionpublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeanAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionpublic AttributeList getAttributes(String[] attributes)
getAttributes in interface DynamicMBeanpublic AttributeList setAttributes(AttributeList attributes)
setAttributes in interface DynamicMBeanpublic Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.