|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Counter | |
|---|---|
| org.jjoost.util | |
| Uses of Counter in org.jjoost.util |
|---|
| Classes in org.jjoost.util that implement Counter | |
|---|---|
static class |
Counters.DontCounter
a Counter which ignores all updates to its value and always returns a value less than zero. |
static class |
Counters.SerialCounter
Returns a regular Counter which performs ordinary addition with no concurrency guarantees |
static class |
Counters.ThreadSafeCounter
a thread safe Counter which uses compare and set operations to modify its value |
| Methods in org.jjoost.util that return Counter | |
|---|---|
static Counter |
Counters.newCounter()
Returns a regular Counter which performs ordinary addition with no concurrency guarantees |
static Counter |
Counters.newDoNothingCounter()
Returns a Counter which ignores all updates to its value and always returns a value less than zero. |
Counter |
Counters.ThreadSafeCounter.newInstance()
|
Counter |
Counters.SerialCounter.newInstance()
|
Counter |
Counters.DontCounter.newInstance()
|
Counter |
Counter.newInstance()
returns a new Counter of the same type as this one, with a value of zero |
static Counter |
Counters.newThreadSafeCounter()
Returns a new thread safe Counter which uses compare and set operations to modify its value |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||