Package org.jgroups.blocks.atomic
Interface CounterView
- All Known Implementing Classes:
COUNTER.CounterViewImpl
public interface CounterView
A view representing the counter's state.
- Since:
- 5.2
- See Also:
-
Method Summary
-
Method Details
-
get
long get()- Returns:
- The counter's value.
-
set
void set(long value) Sets the counter's value.- Parameters:
value- The new value.
-