public class CustomLoadMetric<T extends CustomLoadMetric<T>> extends Object
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 String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Double capacity()
public String attributeClass()
public Map property()
public Integer weight()
Copyright © 2018 JBoss by Red Hat. All rights reserved.