Class logic.AlgorithmAndConsisCheckSelector._Table
All Packages Class Hierarchy This Package Previous Next Index
Class logic.AlgorithmAndConsisCheckSelector._Table
Object
|
+----logic.AlgorithmAndConsisCheckSelector. _Table
- public static class AlgorithmAndConsisCheckSelector._Table
- extends Object
- implements Updateable, Cloneable
This static inner class encapsulates the table data that
resulted from performance testing, which indicates which
algorithm performs faster when consistency checking is on.
It is never to be consulted if consistency checking is off.
-
logic.AlgorithmAndConsisCheckSelector. _Table()
-
-
clone()
-
-
doUpdate(Hashtable)
- The reason for this doUpdate method is this: All the other Action instances
in this class call the doUpdate method on Rules.
-
getAvgNumWildcards()
-
-
getNumRules()
-
-
outOfRange()
-
This method returns true if the table indicates that the number of rules or avg
number of wildcards is too large for tolerable performance.
-
setAvgNumWildcards(int)
-
-
setNumRules(int)
-
-
setRulesInTable(Rules)
-
AlgorithmAndConsisCheckSelector._Table
public AlgorithmAndConsisCheckSelector._Table()
clone
public java.lang.Object clone()
- Overrides:
- clone in class Object
doUpdate
public void doUpdate(Hashtable data)
- The reason for this doUpdate method is this: All the other Action instances
in this class call the doUpdate method on Rules. However, for the TableReadAction
additional processing must be done by this class, so the doUpdate method is redirected
to this class which, after completing processing, calls the doUpdate method on rules
getAvgNumWildcards
public int getAvgNumWildcards()
getNumRules
public int getNumRules()
outOfRange
public boolean outOfRange()
- This method returns true if the table indicates that the number of rules or avg
number of wildcards is too large for tolerable performance. The method is used
by obtainAlgAndConsFlag() and also by Rules to check that a special user request
is safe.
setAvgNumWildcards
public void setAvgNumWildcards(int num)
setNumRules
public void setNumRules(int num)
setRulesInTable
public void setRulesInTable(Rules rules)
All Packages Class Hierarchy This Package Previous Next Index