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.


Constructor Index

 o logic.AlgorithmAndConsisCheckSelector. _Table()

Method Index

 o clone()
 o doUpdate(Hashtable)
The reason for this doUpdate method is this: All the other Action instances in this class call the doUpdate method on Rules.
 o getAvgNumWildcards()
 o getNumRules()
 o 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.
 o setAvgNumWildcards(int)
 o setNumRules(int)
 o setRulesInTable(Rules)

Constructors

 o AlgorithmAndConsisCheckSelector._Table
public AlgorithmAndConsisCheckSelector._Table()

Methods

 o clone
public java.lang.Object clone()
Overrides:
clone in class Object
 o 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

 o getAvgNumWildcards
public int getAvgNumWildcards()
 o getNumRules
public int getNumRules()
 o 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.

 o setAvgNumWildcards
public void setAvgNumWildcards(int num)
 o setNumRules
public void setNumRules(int num)
 o setRulesInTable
public void setRulesInTable(Rules rules)

All Packages  Class Hierarchy  This Package  Previous  Next  Index