public interface Statistics
Modifier and Type | Method and Description |
---|---|
Statistics |
getChild(String childName)
get the specified children statistics
|
Set<String> |
getChildrenNames()
get the names of the children statistic levels (if any)
|
Collection<String> |
getDynamicChildrenNames(EntityManagerFactoryAccess entityManagerFactoryAccess,
PathAddress pathAddress) |
Set<String> |
getNames()
Get the statistics names
|
String |
getResourceBundleKeyPrefix()
gets the key prefix for referencing descriptions of statistics/operations
|
String |
getResourceBundleName()
for loading descriptions of statistics/operations
|
Class |
getType(String name)
Get the type
|
Object |
getValue(String name,
EntityManagerFactoryAccess entityManagerFactoryAccess,
StatisticName statisticName,
PathAddress pathAddress)
Get the value of the statistics
|
boolean |
isAttribute(String name)
return true if the specified name represents an attribute.
|
boolean |
isOperation(String name)
return true if the specified name represents an operation.
|
boolean |
isWriteable(String name)
return true if the specified name represents a writeable attribute
|
void |
setValue(String name,
Object newValue,
EntityManagerFactoryAccess entityManagerFactoryAccess,
StatisticName statisticName,
PathAddress pathAddress)
Set the value of the statistic (isWriteable must return true)
|
Collection<String> getDynamicChildrenNames(EntityManagerFactoryAccess entityManagerFactoryAccess, PathAddress pathAddress)
Class getType(String name)
name
- of the statisticboolean isOperation(String name)
name
- of the statisticboolean isAttribute(String name)
name
- of the statisticboolean isWriteable(String name)
name
- of the statisticsString getResourceBundleName()
String getResourceBundleKeyPrefix()
Object getValue(String name, EntityManagerFactoryAccess entityManagerFactoryAccess, StatisticName statisticName, PathAddress pathAddress)
name
- The name of the statisticsvoid setValue(String name, Object newValue, EntityManagerFactoryAccess entityManagerFactoryAccess, StatisticName statisticName, PathAddress pathAddress)
name
- newValue
- Set<String> getChildrenNames()
Statistics getChild(String childName)
childName
- name of the statistics to returnCopyright © 2016 Red Hat. All rights reserved.