@Service @ManagedResource(objectName="org.openhubframework.openhub.core.throttling:name=ThrottlingConfiguration", description="Throttling configuration") public class JmxThrottlingConfiguration extends Object implements DynamicMBean
Constructor and Description |
---|
JmxThrottlingConfiguration(AbstractThrottlingConfiguration configuration)
Creates new JMX configuration.
|
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attrName) |
AttributeList |
getAttributes(String[] attrNames) |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList objects) |
@Autowired public JmxThrottlingConfiguration(AbstractThrottlingConfiguration configuration)
configuration
- throttling configurationpublic MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
public Object getAttribute(String attrName) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
AttributeNotFoundException
MBeanException
ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public AttributeList getAttributes(String[] attrNames)
getAttributes
in interface DynamicMBean
public AttributeList setAttributes(AttributeList objects)
setAttributes
in interface DynamicMBean
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.