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

seda.sandStorm.api.internal
Interface ResponseTimeControllerIF

All Known Implementing Classes:
ResponseTimeController

public interface ResponseTimeControllerIF

This interface represents a response time controller, invoked by the stage's thread manager to manipulate admission control policies to meet a response time target.

Author:
Matt Welsh

Method Summary
 void adjustThreshold(QueueElementIF[] fetched, long serviceTime)
          Invoked by the stage's thread manager to adjust admission control parameters.
 void disable()
          Disable the response time controller.
 void enable()
          Enable the response time controller.
 double getTarget()
          Return the response time target.
 void setTarget(double RTtarget)
          Set the response time target in milliseconds.
 

Method Detail

setTarget

public void setTarget(double RTtarget)
Set the response time target in milliseconds.

getTarget

public double getTarget()
Return the response time target.

adjustThreshold

public void adjustThreshold(QueueElementIF[] fetched,
                            long serviceTime)
Invoked by the stage's thread manager to adjust admission control parameters.

enable

public void enable()
Enable the response time controller.

disable

public void disable()
Disable the response time controller.

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