private void updateLastStreamId(IStream stream) {
   int streamId = stream.getId();
   if (streamId % 2 != streamIds.get() % 2) Atomics.updateMax(lastStreamId, streamId);
 }
Example #2
0
 private void updateLastStreamId(int streamId) {
   Atomics.updateMax(lastStreamId, streamId);
 }