Package | Description |
---|---|
org.infinispan.counter.api |
Clustered Counters API.
|
Modifier and Type | Method and Description |
---|---|
static CounterConfiguration.Builder |
CounterConfiguration.builder(CounterType type) |
CounterConfiguration.Builder |
CounterConfiguration.Builder.concurrencyLevel(int concurrencyLevel)
Sets the concurrency level of the counter.
|
CounterConfiguration.Builder |
PropertyFormatter.from(Properties properties) |
CounterConfiguration.Builder |
CounterConfiguration.Builder.initialValue(long initialValue)
Sets the initial value.
|
CounterConfiguration.Builder |
CounterConfiguration.Builder.lowerBound(long lowerBound)
Sets the lower bound (inclusive) of the counter.
|
CounterConfiguration.Builder |
CounterConfiguration.Builder.storage(Storage storage)
Sets the storage mode of the counter.
|
CounterConfiguration.Builder |
CounterConfiguration.Builder.upperBound(long upperBound)
Sets the upper bound (inclusive) of the counter.
|
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.