public class StatisticsMBeanImpl extends Object implements DynamicMBean
Constructor and Description |
---|
StatisticsMBeanImpl(org.apache.jackrabbit.core.RepositoryImpl repositoryImpl) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String attribute) |
AttributeList |
getAttributes(String[] attributes) |
MBeanInfo |
getMBeanInfo() |
static String |
getMBeanName(org.apache.jackrabbit.core.RepositoryImpl repositoryImpl) |
org.apache.jackrabbit.api.stats.TimeSeries |
getTimeSeries(org.apache.jackrabbit.api.stats.RepositoryStatistics.Type type) |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
void |
setAttribute(Attribute attribute) |
AttributeList |
setAttributes(AttributeList attributes) |
public StatisticsMBeanImpl(org.apache.jackrabbit.core.RepositoryImpl repositoryImpl) throws IllegalArgumentException
IllegalArgumentException
public static String getMBeanName(org.apache.jackrabbit.core.RepositoryImpl repositoryImpl)
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
AttributeNotFoundException
MBeanException
ReflectionException
public AttributeList getAttributes(String[] attributes)
getAttributes
in interface DynamicMBean
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
MBeanException
ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
public org.apache.jackrabbit.api.stats.TimeSeries getTimeSeries(org.apache.jackrabbit.api.stats.RepositoryStatistics.Type type)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.