Class logic.AlgorithmAndConsisCheckSelector
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class logic.AlgorithmAndConsisCheckSelector

Object
   |
   +----logic.AlgorithmAndConsisCheckSelector

public class AlgorithmAndConsisCheckSelector
extends Object
This class is responsible for deciding which algorithm to use and whether consistency checking should be done. It uses the if-then-else framework to perform the logic, using the new algorithm directly. The Rules class implements Updateable so that the two values that are determined -- the algorithm class and the consistency check flag -- can be directly set into Rules, which in turn reads these and executes the appropriate loadRules function.


Class Index

 o logic.AlgorithmAndConsisCheckSelector. AlgAndConsisSetAction
 o logic.AlgorithmAndConsisCheckSelector. TableReadAction
Unlike most Action instances, this one receives an Updateable instance that is not the object that ultimately needs to be updated -- instead the doUpdate call performed here is a request made of _Table to check against its stored values.
 o logic.AlgorithmAndConsisCheckSelector. _ConcreteInvoker
 o logic.AlgorithmAndConsisCheckSelector. _Table
This static inner class encapsulates the table data that resulted from performance testing, which indicates which algorithm performs faster when consistency checking is on.

Variable Index

 o ALGORITHM
 o CONSIS_CHECK
 o EXCEPTION

Variables

 o ALGORITHM
public static final java.lang.String ALGORITHM
 o CONSIS_CHECK
public static final java.lang.String CONSIS_CHECK
 o EXCEPTION
public static final java.lang.String EXCEPTION

All Packages  Class Hierarchy  This Package  Previous  Next  Index