|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.scheduler.NoScheduler
public class NoScheduler
This is basically not having a scheduler, the requests are processed as normally would be handled by the JVM.
Constructor Summary | |
---|---|
NoScheduler()
|
|
NoScheduler(RequestSchedulerOptions options)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoScheduler(RequestSchedulerOptions options)
public NoScheduler()
Method Detail |
---|
public void queue(java.lang.Thread t, java.lang.String id, long timeoutMS)
IRequestScheduler
queue
in interface IRequestScheduler
t
- Thread handing the requestid
- Scheduling parameter, an id to distinguish profiles (users/keyspace)public void release()
IRequestScheduler
release
in interface IRequestScheduler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |