Set the initial sequence. Presumes that change cache is already locked.
(initialSequence uint64)
| 984 | |
| 985 | // Set the initial sequence. Presumes that change cache is already locked. |
| 986 | func (c *changeCache) _setInitialSequence(initialSequence uint64) { |
| 987 | c.initialSequence = initialSequence |
| 988 | c.nextSequence = initialSequence + 1 |
| 989 | } |
| 990 | |
| 991 | // Concurrent-safe get value of nextSequence |
| 992 | func (c *changeCache) getNextSequence() (nextSequence uint64) { |