SequenceNumber¶
-
public class
SequenceNumber
¶ Atomic uint32 counter implementation respecting size of ProtocolBuffer uint32 type.
- Author
swrede, jwienke
Fields¶
Constructors¶
SequenceNumber¶
-
public
SequenceNumber
(long value)¶ Constructor starting with the specified number for the internal counter.
- Parameters
value – start number within uint32 range
- Throws
IllegalArgumentException – value outside uint32 range