Package org.hotrod.torcs
Class Torcs
- java.lang.Object
-
- org.hotrod.torcs.Torcs
-
@Component public class Torcs extends Object
-
-
Constructor Summary
Constructors Constructor Description Torcs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()voiddeactivate()HighestResponseTimeRankinggetDefaultRanking()StringgetEstimatedExecutionPlan(QueryExecution execution)StringgetEstimatedExecutionPlan(QueryExecution execution, int variation)booleanisActive()voidregister(QueryExecutionObserver observer)voidreset()voidsetResetPeriodInMinutes(int minutes)
-
-
-
Method Detail
-
register
public void register(QueryExecutionObserver observer)
-
setResetPeriodInMinutes
public void setResetPeriodInMinutes(int minutes)
-
activate
public void activate()
-
deactivate
public void deactivate()
-
isActive
public boolean isActive()
-
reset
public void reset()
-
getDefaultRanking
public HighestResponseTimeRanking getDefaultRanking()
-
getEstimatedExecutionPlan
public String getEstimatedExecutionPlan(QueryExecution execution) throws SQLException, PlanRetrieverFactory.UnsupportedTorcsDatabaseException
-
getEstimatedExecutionPlan
public String getEstimatedExecutionPlan(QueryExecution execution, int variation) throws SQLException, PlanRetrieverFactory.UnsupportedTorcsDatabaseException
-
-