@NotThreadSafe public interface PNCounter extends PNCount, GCounter
merging
all the replicated instances, without regard to order of merging.| Modifier and Type | Method and Description |
|---|---|
PNCounter |
decrement()
Decrement the counter and get the result.
|
long |
decrementAndGet()
Decrement the counter and get the result.
|
long |
getAndDecrement()
Decrement the counter and get the result.
|
PNCounter |
increment()
Increment the counter and get the result.
|
PNCounter |
merge(Count other)
Merge the supplied counter into this counter.
|
get, getDecrementgetAndIncrement, incrementAndGetgetIncrementPNCounter increment()
PNCounter decrement()
long decrementAndGet()
long getAndDecrement()
Copyright © 2020 JBoss by Red Hat. All rights reserved.