Toggle navigation
Home
org.jctools.queues.SpscArrayQueue to org.jctools.queues.MessagePassingQueue
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'JCTools'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Update Anonymous class
{ @Override public Integer get(){ counters.offersMade++; return ONE; } }
to
{ public Integer get(){ counters.offersMade++; return ONE; } }
Add or Remove Method invocation
q.drain(new MessagePassingQueue.Consumer<Integer>(){ @Override public void accept( Integer e){ if (e == ONE) { counters.pollsMade++; } else { escape=e; } } } )
to
q.drain(new MessagePassingQueue.Consumer<Integer>(){ public void accept( Integer e){ if (e == ONE) { counters.pollsMade++; } else { escape=e; } } } )