org.apache.cassandra.scheduler
Interface IRequestScheduler

All Known Implementing Classes:
NoScheduler, RoundRobinScheduler

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)
          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

queue

void queue(java.lang.Thread t,
           java.lang.String id)
Queue incoming request threads

Parameters:
t - Thread handing the request
id - Scheduling parameter, an id to distinguish profiles (users/keyspace)

release

void release()
A convenience method for indicating when a particular request has completed processing, and before a return to the client



Copyright © 2010 The Apache Software Foundation