More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.internal
Class ResponseTimeControllerMulticlass

java.lang.Object
  |
  +--seda.sandStorm.internal.ResponseTimeController
        |
        +--seda.sandStorm.internal.ResponseTimeControllerDirect
              |
              +--seda.sandStorm.internal.ResponseTimeControllerMulticlass
All Implemented Interfaces:
ResponseTimeControllerIF

public class ResponseTimeControllerMulticlass
extends ResponseTimeControllerDirect

An implementation of ResponseTimeController that uses a direct adjustment of queue thresholds based on the error in the 90th percentile response time. Allows multiple class SLAs.

Author:
Matt Welsh

Inner Class Summary
(package private)  class ResponseTimeControllerMulticlass.cinfo
           
 
Fields inherited from class seda.sandStorm.internal.ResponseTimeControllerDirect
INIT_THRESHOLD, MAX_THRESHOLD, MIN_THRESHOLD
 
Fields inherited from class seda.sandStorm.internal.ResponseTimeController
pred, stage, targetRT
 
Constructor Summary
ResponseTimeControllerMulticlass(ManagerIF mgr, StageWrapperIF stage)
           
 
Method Summary
 void adjustThreshold(QueueElementIF[] fetched, long procTime)
          Invoked by the stage's thread manager to adjust admission control parameters.
 
Methods inherited from class seda.sandStorm.internal.ResponseTimeControllerDirect
disable, enable
 
Methods inherited from class seda.sandStorm.internal.ResponseTimeController
getTarget, setTarget
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseTimeControllerMulticlass

public ResponseTimeControllerMulticlass(ManagerIF mgr,
                                        StageWrapperIF stage)
                                 throws java.lang.IllegalArgumentException
Method Detail

adjustThreshold

public void adjustThreshold(QueueElementIF[] fetched,
                            long procTime)
Description copied from interface: ResponseTimeControllerIF
Invoked by the stage's thread manager to adjust admission control parameters.
Overrides:
adjustThreshold in class ResponseTimeControllerDirect

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/