@Address(value="/subsystem=modcluster/mod-cluster-config=configuration/dynamic-load-provider=configuration/custom-load-metric=*") public class CustomLoadMetric<T extends CustomLoadMetric<T>> extends HashMap implements Keyed
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic 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 © 2017 JBoss by Red Hat. All rights reserved.