increment

fun increment(replica: ReplicaId, by: Long = 1): Patch<PNCounter>

Increment replica's own slot by by (must be positive). Returns the delta to absorb with piece; the receiver is unchanged.

Throws

if by is not positive.

if replica's increment slot would pass Long.MAX_VALUE.