Skip to main content

Module counter

Module counter 

Source

Structsยง

CASMode
The compare-and-set form: p4 [g-opts] counter --from oldvalue --to newvalue countername.
Counter
Type-safe builder for p4 counter.
DeleteMode
The delete form: p4 [g-opts] counter [-f] -d countername.
IncrementMode
The increment form: p4 [g-opts] counter [-f -v] -i countername.
MultiMode
The multi form: p4 [g-opts] counter [-f] -m [pair list].
SetMode
The set form: p4 [g-opts] counter [-f -v] countername value.
ShowPrevious
The -v (show previous) state of the set and increment forms.