|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRequestScheduler
Implementors of IRequestScheduler must provide a constructor taking a RequestSchedulerOptions object.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 slot
java.util.concurrent.TimeoutExceptionvoid release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||