public interface IRequestScheduler
| 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
|
void queue(java.lang.Thread t,
java.lang.String id,
long timeoutMS)
throws java.util.concurrent.TimeoutException
t - 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.TimeoutExceptionvoid release()
Copyright © 2016 The Apache Software Foundation