clc atomiclong
clc atomiclong increment-get
Increment the AtomicLong by the given value.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the AtomicLong. |
|
|
Optional |
Value to increment by |
1 |
Example:
clc atomiclong decrement-get
Decrement the AtomicLong by the given value.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the AtomicLong. |
|
|
Optional |
Value to decrement by |
1 |
Example:
clc atomiclong destroy
Deletes the atomic long and related data. Once destroyed, an AtomicLong with the same name cannot be used.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the atomic long. |
|
|
Optional |
Skip confirming the destroy operation. |
|