public class ConfigurationDynamicLoadProvider<T extends ConfigurationDynamicLoadProvider<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationDynamicLoadProvider.ConfigurationDynamicLoadProviderResources
Child mutators for ConfigurationDynamicLoadProvider
|
Constructor and Description |
---|
ConfigurationDynamicLoadProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
customLoadMetric(CustomLoadMetric value)
Add the CustomLoadMetric object to the list of subresources
|
T |
customLoadMetric(CustomLoadMetricSupplier supplier)
Install a supplied CustomLoadMetric object to the list of subresources
|
T |
customLoadMetric(String childKey)
Create and configure a CustomLoadMetric object to the list of
subresources
|
T |
customLoadMetric(String childKey,
CustomLoadMetricConsumer consumer)
Create and configure a CustomLoadMetric object to the list of
subresources
|
T |
customLoadMetrics(List<CustomLoadMetric> value)
Add all CustomLoadMetric objects to this subresource
|
Integer |
decay()
Decay
|
T |
decay(Integer value)
Decay
|
String |
getKey() |
Integer |
history()
History
|
T |
history(Integer value)
History
|
T |
loadMetric(LoadMetric value)
Add the LoadMetric object to the list of subresources
|
T |
loadMetric(LoadMetricSupplier supplier)
Install a supplied LoadMetric object to the list of subresources
|
T |
loadMetric(String childKey)
Create and configure a LoadMetric object to the list of subresources
|
T |
loadMetric(String childKey,
LoadMetricConsumer consumer)
Create and configure a LoadMetric object to the list of subresources
|
T |
loadMetrics(List<LoadMetric> value)
Add all LoadMetric objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
ConfigurationDynamicLoadProvider.ConfigurationDynamicLoadProviderResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ConfigurationDynamicLoadProvider.ConfigurationDynamicLoadProviderResources subresources()
public T loadMetrics(List<LoadMetric> value)
value
- List of LoadMetric objects.public T loadMetric(LoadMetric value)
value
- The LoadMetric to addpublic T loadMetric(String childKey, LoadMetricConsumer consumer)
key
- The key for the LoadMetric resourceconfig
- The LoadMetricConsumer to usepublic T loadMetric(String childKey)
key
- The key for the LoadMetric resourcepublic T loadMetric(LoadMetricSupplier supplier)
public T customLoadMetrics(List<CustomLoadMetric> value)
value
- List of CustomLoadMetric objects.public T customLoadMetric(CustomLoadMetric value)
value
- The CustomLoadMetric to addpublic T customLoadMetric(String childKey, CustomLoadMetricConsumer consumer)
key
- The key for the CustomLoadMetric resourceconfig
- The CustomLoadMetricConsumer to usepublic T customLoadMetric(String childKey)
key
- The key for the CustomLoadMetric resourcepublic T customLoadMetric(CustomLoadMetricSupplier supplier)
public Integer decay()
public Integer history()
Copyright © 2018 JBoss by Red Hat. All rights reserved.