public class RoundRobinScheduler extends java.lang.Object implements IRequestScheduler
| Constructor and Description |
|---|
RoundRobinScheduler(RequestSchedulerOptions options) |
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 © 2015 The Apache Software Foundation