public class CounterConfigurationMetaParam extends Object implements MetaParam.Writable<CounterConfiguration>
CounterConfiguration.
The metadata is static and doesn't change. It is sent when initializing a counter and it is kept locally in all the nodes. This avoids transfer information about the counter in every operation (e.g. boundaries/reset).
MetaParam.Lookup, MetaParam.MetaCreated, MetaParam.MetaEntryVersion, MetaParam.MetaLastUsed, MetaParam.MetaLifespan, MetaParam.MetaLoadedFromPersistence, MetaParam.MetaLong, MetaParam.MetaMaxIdle, MetaParam.Writable<T>| Constructor and Description |
|---|
CounterConfigurationMetaParam(CounterConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
CounterConfiguration |
get()
Returns the value of the meta parameter.
|
public CounterConfigurationMetaParam(CounterConfiguration configuration)
public CounterConfiguration get()
MetaParamget in interface MetaParam<CounterConfiguration>Copyright © 2022 JBoss by Red Hat. All rights reserved.