seda.sandStorm.internal
Class ResponseTimeControllerMulticlass

java.lang.Object
  extended byseda.sandStorm.internal.ResponseTimeController
      extended byseda.sandStorm.internal.ResponseTimeControllerDirect
          extended byseda.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

Nested Class Summary
(package private)  class ResponseTimeControllerMulticlass.cinfo
           
 
Field Summary
 
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.

Specified by:
adjustThreshold in interface ResponseTimeControllerIF
Overrides:
adjustThreshold in class ResponseTimeControllerDirect