public class RoundRobinScheduler extends java.lang.Object implements IRequestScheduler
| Constructor and Description | 
|---|
| RoundRobinScheduler(RequestSchedulerOptions options) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | queue(java.lang.Thread t,
     java.lang.String id,
     long timeoutMS)Queue incoming request threads | 
| void | release()A convenience method for indicating when a particular request has completed
 processing, and before a return to the client | 
public RoundRobinScheduler(RequestSchedulerOptions options)
public void queue(java.lang.Thread t,
                  java.lang.String id,
                  long timeoutMS)
           throws java.util.concurrent.TimeoutException
IRequestSchedulerqueue in interface IRequestSchedulert - Thread handing the requestid - Scheduling parameter, an id to distinguish profiles (users/keyspace)timeoutMS - The max time in milliseconds to spend blocking for a slotjava.util.concurrent.TimeoutExceptionpublic void release()
IRequestSchedulerrelease in interface IRequestSchedulerCopyright © 2018 The Apache Software Foundation