public static interface MessagePassingQueue.WaitStrategy
| Modifier and Type | Method and Description | 
|---|---|
int | 
idle(int idleCounter)
This method can implement static or dynamic backoff. 
 | 
int idle(int idleCounter)
 
 int ic = 0;
 while(true) {
   if(!isGodotArrived()) {
     ic = w.idle(ic);
     continue;
   }
   ic = 0;
   // party with Godot until he goes again
 }
 
 idleCounter - idle calls counter, managed by the idle method until resetCopyright © 2008–2021 The Netty Project. All rights reserved.