public static class JavaLockPerformance.SynchronizedCounter
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
static long |
counter |
| Constructor and Description |
|---|
SynchronizedCounter() |
| Modifier and Type | Method and Description |
|---|---|
long |
incAndGet() |
void |
run() |