| Constructor and Description |
|---|
CustomLoadMetric(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
attributeClass()
Class name of the custom metric.
|
T |
attributeClass(String value)
Class name of the custom metric.
|
Double |
capacity()
Capacity of the metric.
|
T |
capacity(Double value)
Capacity of the metric.
|
String |
getKey() |
Map |
property()
Properties for the metric.
|
T |
property(Map value)
Properties for the metric.
|
T |
property(String key,
Object value)
Properties for the metric.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Integer |
weight()
Weight of the metric.
|
T |
weight(Integer value)
Weight of the metric.
|
public CustomLoadMetric(String key)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="capacity") public Double capacity()
@ModelNodeBinding(detypedName="class") public String attributeClass()
@ModelNodeBinding(detypedName="property") public Map property()
@ModelNodeBinding(detypedName="weight") public Integer weight()
Copyright © 2018 JBoss by Red Hat. All rights reserved.