Class StatisticsResource
- java.lang.Object
-
- org.jboss.hal.dmr.ModelNode
-
- org.jboss.hal.dmr.NamedNode
-
- org.jboss.hal.client.runtime.subsystem.resourceadapter.StatisticsResource
-
- All Implemented Interfaces:
Cloneable,NamedObject
public class StatisticsResource extends NamedNode
Wrapper for easier handling of "statistics" resources ("statistics" is the only runtime resource) "statistics=extended" is a child of "resource-adapter=*" and its children "admin-objects=*" and "connection-definitions=*" (conditionally present in all) "statistics=pool" is a child of "connection-definitions=*" (always present)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatisticsResource.ResourceType
-
Field Summary
Fields Modifier and Type Field Description static StringEXT_STATS_AVAILABLE
-
Constructor Summary
Constructors Constructor Description StatisticsResource(String parentName, String name, StatisticsResource.ResourceType resourceType, ModelNode modelNode)StatisticsResource(String parentName, StatisticsResource.ResourceType resourceType, Property property)StatisticsResource(Property property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelNodegetExtendedStats()StringgetParentName()ModelNodegetPoolStats()StatisticsResource.ResourceTypegetResourceType()booleanhasExtendedStats()booleanisStatisticsEnabled()-
Methods inherited from class org.jboss.hal.dmr.NamedNode
asModelNode, equals, getName, hashCode, setName, toString, update
-
Methods inherited from class org.jboss.hal.dmr.ModelNode
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addEmptyList, addEmptyObject, addExpression, as, asBigDecimal, asBigInteger, asBoolean, asBoolean, asBytes, asDouble, asDouble, asInt, asInt, asList, asLong, asLong, asObject, asProperty, asPropertyList, asString, asType, clear, clone, equals, fromBase64, get, get, get, getFailureDescription, getType, has, has, hasDefined, hasDefined, isDefined, isFailure, keys, protect, remove, require, require, resolve, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setEmptyList, setEmptyObject, setExpression, setExpression, toBase64String, toJSONString, toJSONString, writeExternal
-
-
-
-
Field Detail
-
EXT_STATS_AVAILABLE
public static final String EXT_STATS_AVAILABLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StatisticsResource
public StatisticsResource(Property property)
-
StatisticsResource
public StatisticsResource(String parentName, StatisticsResource.ResourceType resourceType, Property property)
-
StatisticsResource
public StatisticsResource(String parentName, String name, StatisticsResource.ResourceType resourceType, ModelNode modelNode)
-
-
Method Detail
-
getParentName
public String getParentName()
-
getResourceType
public StatisticsResource.ResourceType getResourceType()
-
hasExtendedStats
public boolean hasExtendedStats()
-
getExtendedStats
public ModelNode getExtendedStats()
-
getPoolStats
public ModelNode getPoolStats()
-
isStatisticsEnabled
public boolean isStatisticsEnabled()
-
-