A B C D E F G H I L M N O P Q R S T U V W X

A

abort() - Method in class tppt.util.RunExperiment
abort the experiemnt.
abortList - Static variable in class tppt.xopen.ResourceManager
The abortList stored a list of should-be-aborting ResourceManager object.
abortProgress() - Method in class tppt.gui.ExpProgressFrame
About the experiment.
about() - Method in class tppt.gui.DTFrame
Action handler for 'About' menu item.
AccDeadLockTime - Variable in class tppt.util.Transaction
Deprecated. This variable is not be used.
accept(File) - Method in class tppt.util.ReportFileFilter
Accepts all directories and all .wri files

accept(File) - Method in class tppt.util.ExpFileFilter
Accepts all directories and all .exp files

accntName - Static variable in class tppt.db.GlobalData
The usre account.
accntPasswd - Static variable in class tppt.db.GlobalData
The user password.
adjustString(String, int) - Method in class tppt.gui.ReportTableModel
This method fills the space when string length is less than n.
allParaFields - Static variable in class tppt.db.GlobalData
a Vector to store all the Parameter Names.
ap - Variable in class tppt.xopen.TwoPhaseController
 
ap - Variable in class tppt.xopen.TwoPhaseController.Worker
 
apClassDir - Variable in class tppt.xopen.TwoPhaseController
Directory path to load the ApplicationProgram
APDIR - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for AP class Dir is clicked - jodie
APInterface - interface tppt.xopen.APInterface.
This interface defines the methods that ApplicationProgram has to implemenet.
ApplicationProgram - class tppt.xopen.ApplicationProgram.
This class implements the ApplicatioProgram in the two-phase commit protocol.
ApplicationProgram() - Constructor for class tppt.xopen.ApplicationProgram
The Constructor.
apply() - Method in class tppt.gui.IsolationFrame
Activates the current setting of isolation levels for each transaction and closes the window
apply() - Method in class tppt.gui.MaxRowsFrame
Activates the new max row value if it's within the range of [0,256], and closes the window
argDir - Static variable in class tppt.db.GlobalData
The path of argument files.
ARGDIR - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for Argument Files Dir is clicked
argFileExt - Static variable in class tppt.db.GlobalData
The extension of argument file.
argFilesExist() - Static method in class tppt.db.GlobalData
Check whether the Argument Files Directory provided by user contains all the argument files needed.
argumentFileNames - Static variable in class tppt.db.GlobalData
Deprecated. this variable is useless.
argumentFiles - Variable in class tppt.util.Terminal
array of OpenedFiles, opened non-terminal key argument files
argumentValues - Variable in class tppt.util.Transaction
 
avgThruput - Variable in class tppt.gui.ReportFrame
the average number of sucessful transaction every millisecond.
ax - Static variable in class tppt.xopen.ResourceManager
The AX object.
ax - Variable in class tppt.xopen.TwoPhaseController
 
AX - interface tppt.xopen.AX.
AX is the name of the services shared by the TM and the RM.
ax_reg(int, ResourceManager) - Method in class tppt.xopen.TransactionManager
Register the ResourceManager for specified transaction.
ax_reg(int, ResourceManager) - Method in interface tppt.xopen.AX
Register the RM with transaction id to the TM

B

beginTransaction() - Method in interface tppt.xopen.APInterface
Application call the tx_begin() to obtains the transaction id from TM when this method is called.
beginTransaction() - Method in class tppt.xopen.ApplicationProgram
Application call the tx_begin() to obtains the transaction id from TM when this method is called.
bgcolor - Variable in class tppt.gui.ListItem
The background color
bigFont - Variable in class tppt.gui.ReportFrame
 
box - Variable in class tppt.gui.TwoPhaseReportFrame
Layout manager
browse(short) - Method in class tppt.gui.ExpFrame
Action Handler for 'Browse' buttons.
btnSave - Variable in class tppt.gui.TwoPhaseReportFrame
 
btnStartExp - Static variable in class tppt.gui.DTFrame
the start/stop experiment buttons, also used by ExpProgressFrame
btnStopExp - Static variable in class tppt.gui.DTFrame
the start/stop experiment buttons, also used by ExpProgressFrame
buildContent() - Method in class tppt.gui.ExpFrame
Creates the overall look of Experiment Window.
buildContent() - Method in class tppt.gui.ExpProgressFrame
Build up the user interface for Progress Frame.
buildCtrPane() - Method in class tppt.gui.IsolationFrame
Builds the control panel at the bottom of the window, containing 'Default', 'Apply', and 'Cancel' buttons.
buildCtrPane() - Method in class tppt.gui.MaxRowsFrame
Builds the control panel at the bottom of the window, containing 'Default', 'Apply', and 'Cancel' buttons.
buildCtrPane() - Method in class tppt.gui.ReportFrame
Build the control panel including 2 control buttons - Save and Close and set up the action handler for those 2 buttons.
buildDBSetupPanel() - Method in class tppt.gui.ExpFrame
Creates the DB Setup Tabbed Pane and associates action handlers with each Browse button

buildExpSetupPanel() - Method in class tppt.gui.ExpFrame
Creates the Experiment Setup Tabbed Pane and associates action handlers with each button

buildInstruct() - Method in class tppt.gui.IsolationFrame
Builds the instruction info panel displayed at the top of window
buildInstruct() - Method in class tppt.gui.MaxRowsFrame
Builds the instruction info panel displayed at the top of window

buildInstruct() - Method in class tppt.gui.ReportFrame
Build the instruction panel.
buildIsoTable() - Method in class tppt.gui.IsolationFrame
Builds the preview table in a panel

buildIsoTypes() - Method in class tppt.gui.IsolationFrame
Builds the radio button group for selecting isolation levels

buildMaxRowsInput() - Method in class tppt.gui.MaxRowsFrame
Constructs the panel in which the user may input max row value
buildMenuBar() - Method in class tppt.gui.DTFrame
Constructs the menu bar and associates action handler with each menu item.
buildReport() - Method in class tppt.gui.ReportFrame
Build the report panel.
buildToolBar() - Method in class tppt.gui.DTFrame
Constructs the tool bar and associates action handler with each button.
buildTwoPhaseSetupPanel() - Method in class tppt.gui.ExpFrame
 

C

cancel() - Method in class tppt.gui.IsolationFrame
Cancels the isolation level setting for each transaction and closes the window
cancel() - Method in class tppt.gui.MaxRowsFrame
Cancels the max row value input and closes the window
checkProxy - Variable in class tppt.gui.ExpFrame
Added by jodie 3/2/2003 For connect from home
chosenDBMS - Static variable in class tppt.db.GlobalData
The chosen DBMS by user.
cleanRT() - Static method in class tppt.db.GlobalData
Clean up performance measurement variables.
clear() - Method in class tppt.util.SwingWorker.ThreadVar
 
clearInput() - Static method in class tppt.db.GlobalData
The method will clear all the user input fields.
close() - Method in class tppt.gui.ReportFrame
Close this report frame.
closeArgFiles() - Method in class tppt.util.Terminal
Close the opened argument files stored in the OpenedFiles Vector.
closeConnection() - Method in class tppt.db.DBHandler
 
closeConnection(Connection) - Static method in class tppt.db.DBLocker
Close the connection and it results in db lock releasing
closeReader(Reader) - Method in class tppt.db.DBHandler
Close the file reader.
closeStmt(Statement) - Static method in class tppt.db.DBLocker
Close the statement.
closeTransaction() - Method in class tppt.xopen.DBManager
Close the DB Connection.
closeTransaction() - Method in interface tppt.xopen.APInterface
Application calls the tx_close() to tell TransactionManager that this transaction has been done.
closeTransaction() - Method in class tppt.xopen.ApplicationProgram
Application calls the tx_close() to tell TransactionManager that this transaction has been done.
collectTransFields(int, Transaction) - Method in class tppt.util.PrototypesAnalyzer
Update the transFields vector every time when a new transaction is created.
columnNames - Variable in class tppt.gui.IsoTableModel
the column names for the preview table
columnNames - Variable in class tppt.gui.ReportTableModel
 
comboDBMS - Variable in class tppt.gui.ExpFrame
Added by jodie 11/8/2002
comboMode - Variable in class tppt.gui.ExpFrame
 
commitTransaction() - Method in class tppt.xopen.DBManager
Commit the transaction.
commitTransaction() - Method in interface tppt.xopen.APInterface
Application call the tx_commit() to commit the transaction.
commitTransaction() - Method in class tppt.xopen.ApplicationProgram
Application call the tx_commit() to commit the transaction.
confirmRegistration() - Method in class tppt.xopen.TwoPhaseController
Performs the first stage check.
confirmResult() - Method in class tppt.xopen.TwoPhaseController
Perform the Two-Phase Commit check Check whether user commit or abort the transaction correctly.
conn - Static variable in class tppt.db.DBLocker
DB Connection
connection - Variable in class tppt.db.DBHandler
DB Connection
connection - Variable in class tppt.util.Terminal
 
connection - Variable in class tppt.xopen.DBManager
The database connection.
connectToRM(int, int, DBSetting) - Static method in class tppt.xopen.ResourceManager
This method has to be called by ApplicationProgram when setting up its subtransaction.
construct() - Method in class tppt.util.SwingWorker
Compute the value to be returned by the get method.
copy() - Method in class tppt.util.Transaction
Return a Transaction instance that is the deep-copy of current Transaction object.
countDeadlocks() - Method in class tppt.util.Terminal
 
create() - Static method in class tppt.xopen.TransactionManager
Create the TransactionManager instance if it has not been created.
createConnection() - Static method in class tppt.db.DBLocker
connect to the database using the id and passd from GlobalData class.
createConnection(DBSetting) - Method in class tppt.xopen.DBManager
Create the connection to the database according to the JDBC setting passed from user's Application Program.
createKeywordLists() - Method in class tppt.util.PrototypesAnalyzer
Parse the "Session Keywords" and "Terminal Keywords" from the prototype file and store both keyowrds to GlobalData class.
createOneTransaction(String) - Method in class tppt.util.PrototypesAnalyzer
Create one Transaction by parsing one line from prototype file.
createSyncTable(String, Connection) - Static method in class tppt.db.DBLocker
Create the Sync table if it does not exist.
createTransactionTable() - Method in class tppt.util.PrototypesAnalyzer
Parses entire prototype file and create all transaction objects needed for the system.
currentTime - Variable in class tppt.util.RunExperiment
keep track of number of seconds passed by
cursor - Variable in class tppt.gui.HtmlPane.PageLoader
 

D

db - Variable in class tppt.xopen.ResourceManager
This object is responsbile to interface with the DBMS.
DB2DBLocker - class tppt.db.DB2DBLocker.
DB2DBLocker is the class that is responsbile to obtain and releasse the Database lock for the single user mode.
DB2DBLocker() - Constructor for class tppt.db.DB2DBLocker
 
DB2Handler - class tppt.db.DB2Handler.
DB2Handler is the class that implements the DB2 dependent methods in order to run the tool on the Sybase.
DB2Handler() - Constructor for class tppt.db.DB2Handler
 
dbConnect(String, String) - Method in class tppt.util.Terminal
Create the connection to the database.
dbConnection(String, String, String, String, String) - Method in class tppt.db.DBHandler
Create the connection to the database.
dbDriver - Static variable in class tppt.db.GlobalData
The jdbc driver string
DBHandler - class tppt.db.DBHandler.
This class is the abstract class that defined the required methods for the any DBMS that tool would like to run on.
DBHandler() - Constructor for class tppt.db.DBHandler
 
dbInitFile - Static variable in class tppt.db.GlobalData
The path if user database initialization file.
DBINITFILE - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for DB Init File is clicked
DBLocker - class tppt.db.DBLocker.
DBLocker is the class that is responsbile to obtain and releasse the Database lock for the single user mode.
DBLocker() - Constructor for class tppt.db.DBLocker
The constructor
DBManager - class tppt.xopen.DBManager.
DBManager is responsbile to interact to the DBMS through the JDBC.
DBManager() - Constructor for class tppt.xopen.DBManager
The empty constructor.
DBMS - Static variable in class tppt.db.GlobalData
For the multi-database support.
dbname - Variable in class tppt.db.DBSetting
The name of DB.
dbname - Variable in class tppt.xopen.DBManager
The name of DBMS.
dbName - Static variable in class tppt.db.GlobalData
The name of DBMS
dbSchemaFile - Static variable in class tppt.db.GlobalData
The path of user database schema file.
DBSCHEMAFILE - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for DB Schema File is clicked
DBSetting - class tppt.db.DBSetting.
DBSetting is used to store the JDBC setting information for specific DBMS.
DBSetting(String) - Constructor for class tppt.db.DBSetting
Constructs the DBSetting with the specified db name.
dbSettingMap - Static variable in class tppt.db.GlobalData
Stored the DB setting reading from server.xml in the hastable.
dbURL - Static variable in class tppt.db.GlobalData
The jdbc url
DEADLOCKED - Variable in class tppt.util.Transaction
 
deadlockNum - Variable in class tppt.gui.ReportFrame
the total deadlock happened in all terminals.(including retry)
Deadlocknumoftrans - Static variable in class tppt.db.GlobalData
a array to store number of deadlocks for each transaction type
DeadLockTime - Static variable in class tppt.db.GlobalData
the accumulated response time in of deadlock transactions.
DeadLockTime - Variable in class tppt.util.Transaction
the accumulated response time when deadlock happends
defaultIsoLevel - Static variable in class tppt.db.GlobalData
The defualt isolation level of all transactions, which is Connection.TRANSACTION_SERIALIZABLE.
discardAllData() - Static method in class tppt.db.GlobalData
To discard all the user input data or system variables.
dot - Variable in class tppt.xopen.TwoPhaseController
The ListItem to show the dot(.) to the log window.
dotStr - Variable in class tppt.xopen.TwoPhaseController
 
driver - Variable in class tppt.db.DBSetting
The JDBC driver string
dropATable(String) - Method in class tppt.db.DBHandler
Drop a table with name tableName.
dropConstraint(String, String) - Method in class tppt.db.DBHandler
Drop the specific constraint for specific table.
dropSP(String) - Method in class tppt.db.DBHandler
Drop a specific store procedure with name spName.
dropStoredProcedures() - Method in class tppt.db.DBHandler
The method to obtain all the existing stored procedures and then call dropSP method to drop those stored procedure before the experiment starts.
dropStoredProcedures() - Method in class tppt.db.SybaseHandler
Drop all the user-created store procedures.
dropStoredProcedures() - Method in class tppt.db.DB2Handler
Drop all the user-created store procedures.
dropTables() - Method in class tppt.db.DBHandler
The method to obtain all the existing tables and constraints and then call dropConstraint and dropATable methods to drop all the constraints and tables before the experiment starts.
dropTables() - Method in class tppt.db.SybaseHandler
Clean up the database, including all the user databases and constriants.
dropTables() - Method in class tppt.db.DB2Handler
Clean up the database, including all the user databases and constriants.
DTFrame - class tppt.gui.DTFrame.
DTFrame constructs and displays the main window of TPPT, which contains a menu bar, a tool bar, and a display area for internal windows.
DTFrame() - Constructor for class tppt.gui.DTFrame
Constructs and displays the main window of TPPT on the screen
dtPane - Static variable in class tppt.gui.DTFrame
the display area for internal windows

E

EachDeadLock - Static variable in class tppt.db.GlobalData
the counter of deadlocks for each transaction
EachDeadLock - Variable in class tppt.util.Transaction
 
enoughArgs() - Static method in class tppt.db.GlobalData
Check if terminal keys' argument files have enough data for all terminals.
equals(Object) - Method in class tppt.xopen.ResourceManager
Overwrite the equals method so that 2 RMs are the same iff both their tid and rid are the same.
EXCEPTION - Variable in class tppt.util.Transaction
 
execTime - Variable in class tppt.gui.ReportFrame
The exection period of all transaction.
execTransaction() - Method in class tppt.util.Transaction
executes this transaction.
executeStmt(String) - Method in class tppt.db.DBHandler
Execute the SQL command.
executeTime - Static variable in class tppt.db.GlobalData
The maximum time a experiemnt could last in seconds.
executeTransaction(String) - Method in class tppt.xopen.DBManager
Execute the SQL command.
executeTransaction(String) - Method in class tppt.xopen.ResourceManager
This method has to be called by user's ApplicationProgram.
exp - Static variable in class tppt.util.Utils
the Experiment Setting file extension
expDone - Static variable in class tppt.util.RunExperiment
true - if experiment is done
expError - Static variable in class tppt.util.RunExperiment
true - if transaction encounters error
ExpFileFilter - class tppt.util.ExpFileFilter.
Experiment File Filter is used when the user chooses to open or save an experiment file.
ExpFileFilter() - Constructor for class tppt.util.ExpFileFilter
 
ExpFrame - class tppt.gui.ExpFrame.
ExpFrame is the main Experiment Window for users to configure the settings of an experiment.
ExpFrame() - Constructor for class tppt.gui.ExpFrame
Constructs and displays the Experiment Window on screen
expLength - Variable in class tppt.util.RunExperiment
total number of seconds the experiment need to run
expLengthLimit - Static variable in class tppt.db.GlobalData
the max execution time, which is 60 seconds.
expProgress - Variable in class tppt.gui.DTFrame
the internal Experiment Progress Display window
ExpProgressFrame - class tppt.gui.ExpProgressFrame.
This class is responsible to display the experiment window.
ExpProgressFrame() - Constructor for class tppt.gui.ExpProgressFrame
Constructor will build up the UI, initiate and start the RunExperiment and create a Timer to update the progress bar regularly.
expSetup() - Method in class tppt.gui.DTFrame
Initiate the expFrame if it is never created or bring it to the front if it has created.
expWindow - Variable in class tppt.gui.DTFrame
the internal Experiment Setup window

F

fc - Variable in class tppt.gui.ExpFrame
 
fgcolor - Variable in class tppt.gui.ListItem
The foreground color
fileName - Variable in class tppt.util.OpenedFiles
 
fileStream - Variable in class tppt.util.OpenedFiles
 
fillInput() - Method in class tppt.gui.ExpFrame
Fills up user input fileds from the GlobalData class.
finished() - Method in class tppt.util.SwingWorker
Called on the event dispatching thread (not on the worker thread) after the construct method has returned.
forceCloseConnection() - Method in class tppt.xopen.ResourceManager
Force this resource manager to release the connection and db lock.
forceCloseConnection() - Method in class tppt.xopen.TwoPhaseController
Force all the ResourceManager to release its connection.
frame - Static variable in class tppt.gui.ExpFrame
Two-Phase commit report frame

G

gblAdd(GridBagLayout, GridBagConstraints, Container, Component) - Method in class tppt.gui.ExpFrame
 
gblAdd(GridBagLayout, GridBagConstraints, Container, Component) - Method in class tppt.gui.IsolationFrame
Set up a component the constriant in the GridBadLayout and add it to the container.
gblAdd(GridBagLayout, GridBagConstraints, Container, Component) - Method in class tppt.gui.ExpProgressFrame
Set up a component the constriant in the GridBadLayout and add it to the container.
gblAdd(GridBagLayout, GridBagConstraints, Container, Component) - Method in class tppt.gui.MaxRowsFrame
Set up a component the constriant in the GridBadLayout and add it to the container.
gblAdd(GridBagLayout, GridBagConstraints, Container, Component) - Method in class tppt.gui.ReportFrame
Set up a component the constriant in the GridBadLayout and add it to the container.
get() - Method in class tppt.util.SwingWorker
Return the value created by the construct method.
get() - Method in class tppt.util.SwingWorker.ThreadVar
 
getAbortList() - Static method in class tppt.xopen.ResourceManager
Obtain the abort list.
getAllRMs() - Method in class tppt.xopen.TransactionRecord
Obtains all the Registered ResourceManager for this transaction id.
getAllTransFields() - Method in class tppt.util.PrototypesAnalyzer
Returns the Vector containsing all the distinct parameters among all the existing transactions.
getBgColor() - Method in class tppt.gui.ListItem
Get the background color object
getColumnCount() - Method in class tppt.gui.IsoTableModel
Gets the total number of columns in the table

getColumnCount() - Method in class tppt.gui.ReportTableModel
Gets the total number of columns in the table

getColumnName(int) - Method in class tppt.gui.IsoTableModel
Gets the name of the selected column

getColumnName(int) - Method in class tppt.gui.ReportTableModel
Gets the name of the selected column

getCurrent() - Method in class tppt.util.RunExperiment
get the number of seconds the experiment have been executed so far.
getDBLock() - Static method in class tppt.db.DBLocker
Obtain the database lock.
getDBLock() - Static method in class tppt.db.DB2DBLocker
 
getDBLock() - Static method in class tppt.db.SybaseDBLocker
Obtains the Sybase database lock.
getDBName() - Method in class tppt.db.DBSetting
Gets the name of DBMS for this DBSetting object.
getDBName() - Method in class tppt.xopen.DBManager
Get the name of DBMS the manager connect to.
getDescription() - Method in class tppt.util.ReportFileFilter
 
getDescription() - Method in class tppt.util.ExpFileFilter
 
getElementValueByName(Node, int) - Static method in class tppt.db.GlobalData
Get the elemnt value by the name of element.
getExtension(File) - Static method in class tppt.util.Utils
Gets the extension of a file.
getExtension(String, char) - Static method in class tppt.util.Utils
 
getFgColor() - Method in class tppt.gui.ListItem
Get the foreground color object
getId() - Method in class tppt.db.DBSetting
Gets the user id.
getIsoLevel() - Method in class tppt.util.Transaction
 
getJDBCDriver() - Method in class tppt.db.DBSetting
Gets the JDBC driver string.
getLengthOfExp() - Method in class tppt.util.RunExperiment
Return how many seconds the experiemnt should be run.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class tppt.gui.MyCellRenderer
 
getLogger() - Static method in class tppt.gui.TwoPhaseReportFrame
Gets the logger
getMultiJDBCURL() - Method in class tppt.db.DBSetting
Gets the JDBC url string for multi-user mode.
getNumOfDeadlocks() - Method in class tppt.util.RunExperiment
Get the total number of deadlocks happened in all terminals.
getParaNames() - Method in class tppt.util.Transaction
 
getPassd() - Method in class tppt.db.DBSetting
Gets the db password.
getProxy() - Method in class tppt.db.DBSetting
Gets the proxy url string
getRMId() - Method in class tppt.xopen.ResourceManager
Get the resource manager id
getRowCount() - Method in class tppt.gui.IsoTableModel
Gets the total number of rows in the table, if the total number of rows is less than minRowCount, returns the minimum row count.
getRowCount() - Method in class tppt.gui.ReportTableModel
Gets the total number of rows in the table, if the total number of rows is less than minRowCount, returns the minimum row count.
getRTList() - Method in class tppt.gui.ReportTableModel
Assign the value to data array.
getRunningTransaction() - Method in class tppt.xopen.TransactionManager
Return all the registered transactions.
getRunningTransaction() - Method in interface tppt.xopen.TMInterface
Obtains all the running transactions in the Transaction Manager now.
getSelectedLevel() - Method in class tppt.gui.IsolationFrame
Retrieves the string representation of isolation level depends on the selected radio button

getSingleJDBCURL() - Method in class tppt.db.DBSetting
Gets the JDBC url string for single-user mode.
getStatus() - Method in class tppt.xopen.ResourceManager
Get the status of this resource manager.
getStatus() - Method in class tppt.xopen.TwoPhaseController.Worker
 
getTMInstance() - Static method in class tppt.xopen.TransactionManager
Get the TransactionManager instance.
getTraceList() - Static method in class tppt.xopen.ResourceManager
Obtain the trace list.
getTrans(String) - Method in class tppt.util.Terminal
Get the transaction instance from the line of Transaction Script File.
getTransactionId() - Method in class tppt.xopen.ResourceManager
Return the transaction id that this resource manager belong to.
getTransactionId() - Method in interface tppt.xopen.APInterface
Obtains the transaction id
getTransactionId() - Method in class tppt.xopen.ApplicationProgram
Obtains the transaction id
getTransClassName() - Method in class tppt.util.Transaction
Returns the class name of this transaction.
getTransName() - Method in class tppt.util.Transaction
 
getValue() - Method in class tppt.gui.ListItem
Get the log value string
getValue() - Method in class tppt.util.SwingWorker
Get the value produced by the worker thread, or null if it hasn't been constructed yet.
getValueAt(int, int) - Method in class tppt.gui.IsoTableModel
Gets the value of a cell at position [row, col]

getValueAt(int, int) - Method in class tppt.gui.ReportTableModel
Gets the value of a cell at position [row, col]

global - Variable in class tppt.util.Terminal
 
global - Variable in class tppt.util.RunExperiment
 
GlobalData - class tppt.db.GlobalData.
This class stores all the global variables, constants and methods that are needed for an experiment.
GlobalData() - Constructor for class tppt.db.GlobalData
 
globalFC - Static variable in class tppt.db.GlobalData
use a global filechooser to keep the current filepath need to find a better way to do this.
go() - Method in class tppt.util.RunExperiment
This method creates a SwingWorker to run the experiment.

H

HelpFrame - class tppt.gui.HelpFrame.
HelpFrame shows the user manual in the HTML format.
HelpFrame() - Constructor for class tppt.gui.HelpFrame
 
helpWin - Variable in class tppt.gui.DTFrame
the internal Help Menu window
html - Variable in class tppt.gui.HtmlPane
 
HtmlPane - class tppt.gui.HtmlPane.
 
HtmlPane.PageLoader - class tppt.gui.HtmlPane.PageLoader.
temporary class that loads synchronously (although later than the request so that a cursor change can be done).
HtmlPane.PageLoader(HtmlPane, URL, Cursor) - Constructor for class tppt.gui.HtmlPane.PageLoader
 
HtmlPane() - Constructor for class tppt.gui.HtmlPane
 
hyperlinkUpdate(HyperlinkEvent) - Method in class tppt.gui.HtmlPane
Notification of a change relative to a hyperlink.

I

i - Variable in class tppt.util.RunExperiment
 
id - Variable in class tppt.db.DBSetting
The user id
index - Variable in class tppt.util.TermKeyValues
 
initDB() - Method in class tppt.db.DBHandler
This method executes the initial tasks before the experiment starts.
initDLcounter() - Static method in class tppt.util.Transaction
 
INITFILE - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for data init file is clicked - jodie
initiateGUI() - Method in class tppt.gui.TwoPhaseReportFrame
Initiate the GUI componets
initStatement(String, int) - Method in class tppt.db.DBHandler
Read the sql commands from the filename and execute those commands.
inputComplete() - Method in class tppt.gui.ExpFrame
Checks the completeness of user input for DB Setup and Experiment Setup.
interrupt() - Method in class tppt.util.SwingWorker
A new method that interrupts the worker thread.
isAlive - Variable in class tppt.xopen.TwoPhaseController.Worker
 
isCellEditable(int, int) - Method in class tppt.gui.IsoTableModel
Sets the cell at position [row, col] to be non-editable

isCellEditable(int, int) - Method in class tppt.gui.ReportTableModel
Sets the cell at position [row, col] to be non-editable

isChained - Variable in class tppt.xopen.DBManager
 
isFromHome - Static variable in class tppt.db.GlobalData
Whether connected from home is checked.
isMultiUserMode - Static variable in class tppt.db.GlobalData
This flag indeciate whether multi-user mode is provided.
IsolationFrame - class tppt.gui.IsolationFrame.
IsolationFrame is the Set Isolation Levels window.
IsolationFrame() - Constructor for class tppt.gui.IsolationFrame
Constructs and displays the Set Isolation Levels window on screen
isolationLevel - Variable in class tppt.util.Transaction
 
isolationWindow - Static variable in class tppt.gui.DTFrame
the internal Set Isolation Level window
isoLevelToNum(String) - Method in class tppt.gui.IsoTableModel
Converts the isolation level from string representation to numerical form
isoLevelToString(int) - Method in class tppt.gui.IsoTableModel
Converts the isolation level from numerical form to string representation
isoTable - Variable in class tppt.gui.IsolationFrame
the preview table for showing the current isolation level of each transaction type
IsoTableModel - class tppt.gui.IsoTableModel.
IsoTableModel creates a 2-column Transaction-Isolation Preview table used in IsolationFrame JY10/30/00 corrected errors involving numbering the isolation levels, thus eliminating discrepancies between Sybase's numerical definition for different isolation levels and TPPT tool's definition as shown in the isolation frame
IsoTableModel() - Constructor for class tppt.gui.IsoTableModel
Constructs the preview table of Set Isolation Level window

L

label - Variable in class tppt.gui.ExpProgressFrame
 
label - Variable in class tppt.gui.TwoPhaseReportFrame
 
lblImage - Variable in class tppt.gui.ExpProgressFrame
 
linkActivated(URL) - Method in class tppt.gui.HtmlPane
Follows the reference in an link.
ListItem - class tppt.gui.ListItem.
This class is the object that define the froeground color, background color and the value of the word that passed to the logger.
ListItem(Color, Color, String) - Constructor for class tppt.gui.ListItem
Constructs with the foreground, background color and the initial word.
ListItem(String) - Constructor for class tppt.gui.ListItem
Constructs with the initial word.
loadClass() - Method in class tppt.xopen.TwoPhaseController
Dynamically load the TransactionManager and ApplicationProgram(s) classes user provided
LOCK_SP_NOT_EXIST - Static variable in class tppt.db.DBLocker
The SQL State Error code: the getDBLock stored procedure does not exist.
LOCK_SP_NOT_EXIST - Static variable in class tppt.db.DB2DBLocker
The SQL State Error code: the getDBLock stored procedure does not exist.
LOCK_SP_NOT_EXIST - Static variable in class tppt.db.SybaseDBLocker
The SQL State Error code: the getDBLock stored procedure does not exist.
LOCK_TABLE_NOT_EXIST - Static variable in class tppt.db.DBLocker
The SQL State Error code: the Sync table does not exist.
LOCK_TABLE_NOT_EXIST - Static variable in class tppt.db.DB2DBLocker
The SQL State Error code: the Sync table does not exist.
LOCK_TABLE_NOT_EXIST - Static variable in class tppt.db.SybaseDBLocker
The SQL State Error code: the Sync table does not exist.
log(Object) - Method in class tppt.gui.TwoPhaseLogger
Logs the argument.
logger - Static variable in class tppt.gui.TwoPhaseReportFrame
The logger
logger - Variable in class tppt.xopen.TransactionManager
The logger
logger - Variable in class tppt.xopen.ResourceManager
The log object.
logger - Variable in class tppt.xopen.ApplicationProgram
The logger
logger - Variable in class tppt.xopen.TwoPhaseController
The logger
loggerPane - Variable in class tppt.gui.TwoPhaseReportFrame
 
LOGICALLYFAILED - Variable in class tppt.util.Transaction
 
LogicFailTime - Static variable in class tppt.db.GlobalData
the accumulated response time in all logic fail transactions.
LogicFailTime - Variable in class tppt.util.Transaction
The accumulated response time when login failure happends

M

main(String[]) - Static method in class tppt.db.DBHandler
 
main(String[]) - Static method in class tppt.db.DBLocker
 
main(String[]) - Static method in class tppt.db.DB2DBLocker
 
main(String[]) - Static method in class tppt.db.GlobalData
 
main(String[]) - Static method in class tppt.db.SybaseDBLocker
 
main(String[]) - Static method in class tppt.db.DB2Handler
 
main(String[]) - Static method in class tppt.util.PrototypesAnalyzer
 
main(String[]) - Static method in class tppt.xopen.DBManager
 
main(String[]) - Static method in class tppt.xopen.TwoPhaseController
 
map - Variable in class tppt.xopen.TransactionRecord
store the ResourceManager id as key and the instance as value
maxrows - Static variable in class tppt.db.GlobalData
the number of max row per page
MaxRowsFrame - class tppt.gui.MaxRowsFrame.
MaxRowsFrame is the Set Max Rows Per Page window, which provides interface for user to set max rows per page value for all database tables defined in the user DB Schema file.
MaxRowsFrame() - Constructor for class tppt.gui.MaxRowsFrame
Constructs and displays the Set Max Rows Per Page window on screen
maxrowsWindow - Static variable in class tppt.gui.DTFrame
the internal Set Max Rows Per Page window
menuBar - Variable in class tppt.gui.DTFrame
the menu bar
Message - class tppt.xopen.Message.
Message defines the serverl global constants that used to indicate certain circumstance.
Message() - Constructor for class tppt.xopen.Message
 
minRowCount - Variable in class tppt.gui.IsoTableModel
 
minRowCount - Variable in class tppt.gui.ReportTableModel
 
modes - Static variable in class tppt.db.GlobalData
The String array of the users modes.
MULIT_USER_MODE - Static variable in class tppt.db.GlobalData
 
multi_url - Variable in class tppt.db.DBSetting
The JDBC url string for multi-user mode
MyCellRenderer - class tppt.gui.MyCellRenderer.
Create the customized cell renderer so that we can control the foreground and background color of the JList.
MyCellRenderer() - Constructor for class tppt.gui.MyCellRenderer
 
MyFavoriteLineLength - Static variable in class tppt.db.GlobalData
default length limit for a line when displaying user query on the query result frame, see checkDBreportFrame.java
myModel - Variable in class tppt.gui.IsolationFrame
the preview table model associated with isoTable.

N

newExp() - Method in class tppt.gui.DTFrame
Action handler for 'New Experiment' button.
num - Variable in class tppt.util.RunExperiment
number of terminals user requests.
numOfAp - Variable in class tppt.xopen.TwoPhaseController
Number of ApplicationProgram the program expected to load
NumOfDeadLock - Static variable in class tppt.db.GlobalData
The number of deadlock occurs in all transactions.
NumOfDeadLock - Variable in class tppt.util.Transaction
The accumulated number of deadlock happened in this transaction.
numOfDeadlocks - Variable in class tppt.util.Terminal
This variable is used to store the number of deadlocks occurs in this Terminal including the retry times.
numOfDeadlocks - Static variable in class tppt.util.RunExperiment
The total number of deadlocks happened in all terminals.
NumOfLogicFail - Static variable in class tppt.db.GlobalData
The number of logic fails occurs in all transactions.
NumOfLogicFail - Variable in class tppt.util.Transaction
the number of logic failures
numOfRetry - Variable in class tppt.util.Terminal
 
NumOfSuccess - Variable in class tppt.util.Transaction
Deprecated.  
numOfTerminals - Static variable in class tppt.db.GlobalData
The number of terminals user asks to run in a experiment.

O

ONE_SECOND - Variable in class tppt.gui.ExpProgressFrame
 
ONE_SECOND - Variable in class tppt.util.Terminal
 
ONE_SECOND - Variable in class tppt.util.RunExperiment
 
open_saveFC - Variable in class tppt.gui.ExpFrame
 
open_saveFC - Variable in class tppt.gui.DTFrame
file chooser for opening and saving experiment setting files
openArgFiles() - Method in class tppt.util.Terminal
This method is used to seperate terminal key, session key and neither, and open or assign the argument file to each key.
OpenedFiles - class tppt.util.OpenedFiles.
This class is used to hold the opened filename and its RandomAccessFile instance.
OpenedFiles(String, RandomAccessFile) - Constructor for class tppt.util.OpenedFiles
 
openExp() - Method in class tppt.gui.DTFrame
Action handler for 'Open Experiment' button.
openHelp() - Method in class tppt.gui.DTFrame
Action handler for 'Help' button.
overallRT - Variable in class tppt.gui.ReportFrame
The overall average response time of all sucessful transactions.

P

paraCount - Variable in class tppt.util.Transaction
 
parameterNames - Variable in class tppt.util.Transaction
 
parameterTypes - Variable in class tppt.util.Transaction
 
passd - Variable in class tppt.db.DBSetting
The password
PreparedTimeoutException - exception tppt.xopen.PreparedTimeoutException.
Signals that the ResourceManager is timeout when Transaction Manager is waiting for its vote.
PreparedTimeoutException() - Constructor for class tppt.xopen.PreparedTimeoutException
Constructs a PreparedTimeoutException with no detail message.
PreparedTimeoutException(String) - Constructor for class tppt.xopen.PreparedTimeoutException
Constructs a PreparedTimeoutException with specified message.
printGlobalData() - Static method in class tppt.db.GlobalData
 
progressBar - Variable in class tppt.gui.ExpProgressFrame
 
protoFile - Static variable in class tppt.db.GlobalData
The path of prototype file.
protoFile - Variable in class tppt.util.PrototypesAnalyzer
 
PROTOFILE - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for Trans Prototypes File is clicked
PrototypesAnalyzer - class tppt.util.PrototypesAnalyzer.
PrototypesAnalyzer is the parsing tool to parse Transaction Prototypes File, create transaction table and collect all parameter names existing in Prototypes File.
PrototypesAnalyzer(String) - Constructor for class tppt.util.PrototypesAnalyzer
Constructs the PrototypesAnalyzer that initialized with the prototype file location string.
proxy - Static variable in class tppt.db.GlobalData
Stored the proxy string
proxy - Variable in class tppt.db.DBSetting
The proxy machine url string

Q

query - Variable in class tppt.gui.ExpFrame
 
queryColNames - Variable in class tppt.gui.ExpFrame
 
queryCols - Variable in class tppt.gui.ExpFrame
 
quit() - Method in class tppt.gui.DTFrame
Action handler for 'Exit' menu item.

R

random - Variable in class tppt.xopen.ResourceManager
The Random object using the time as the seed.
rc - Variable in class tppt.gui.IsolationFrame
the radio button for iso level 1 (Read Committed)
recordEndTime(long) - Method in class tppt.util.Transaction
Set up the end time of this transaction.
recordStartTime(long) - Method in class tppt.util.Transaction
Set up the start time of this transaction.
recordTransRT(double, int) - Method in class tppt.util.Transaction
Store the response time according to the return result by user-defined transaction procedure.
recordTransRT(double, Integer) - Method in class tppt.util.Transaction
 
registerToTM() - Method in class tppt.xopen.ResourceManager
This method must be called by the ApplicationProgram so that it will register itself to the Transaction Manager.
regsiterRM(ResourceManager) - Method in class tppt.xopen.TransactionRecord
Register the ResourceManager.
releaseDBLock() - Static method in class tppt.db.DBLocker
Release the lock.
remove(Object) - Method in class tppt.gui.TwoPhaseLogger
Remove the specific message from the log window.
removeAll() - Method in class tppt.gui.TwoPhaseLogger
Remove all the log message from the log window.
ReportFileFilter - class tppt.util.ReportFileFilter.
Report File Filter is used when the user chooses to save a performance measurement report file.
ReportFileFilter() - Constructor for class tppt.util.ReportFileFilter
 
ReportFrame - class tppt.gui.ReportFrame.
This frame shows the report of the experiment after the experiemnt terminates properly.
ReportFrame(int) - Constructor for class tppt.gui.ReportFrame
Constructs the ReportFrame by initiating some required values and buidl the user interface for this frame.
ReportTableModel - class tppt.gui.ReportTableModel.
The table model used to display the experiment result.
ReportTableModel() - Constructor for class tppt.gui.ReportTableModel
Initiate the data model by assigning the proper value to the data array.
resourceFilesExist() - Static method in class tppt.db.GlobalData
Checks whether all files or directories provided by user exist or not.
ResourceManager - class tppt.xopen.ResourceManager.
ResourceManager acts as proxy for the DBMS.
ResourceManager(int, int, DBSetting) - Constructor for class tppt.xopen.ResourceManager
The constructor.
responseTime - Static variable in class tppt.db.GlobalData
the total response time (in milliseconds ) of sucessful transactions in all the simulating terminals.
responseTime - Variable in class tppt.util.Transaction
Accumulated response time (The end time of procedure exection - the start time ) in milliseconds.
returnType - Variable in class tppt.util.Transaction
 
rid - Variable in class tppt.xopen.ResourceManager
ResouceManager id
RM_STATUS_COMMIT - Static variable in class tppt.xopen.Message
This constant indicates that xa_commit() is called.
RM_STATUS_ROLLBACK - Static variable in class tppt.xopen.Message
This constant indicates that xa_rollback() is called.
RM_STATUS_WAIT - Static variable in class tppt.xopen.Message
This constant indicates that the RM is waiting for TM to call xa_commit() or xa_rollback.
rollbackTransaction() - Method in class tppt.xopen.DBManager
Rollback the transaction.
rr - Variable in class tppt.gui.IsolationFrame
the radio button for iso level 2 (Repeatable Read)
rtModel - Variable in class tppt.gui.ReportFrame
 
rtTable - Variable in class tppt.gui.ReportFrame
 
ru - Variable in class tppt.gui.IsolationFrame
the radio button for iso level 0 (Read Uncommitted)
run() - Method in class tppt.gui.HtmlPane.PageLoader
 
run() - Method in class tppt.util.Terminal
Start to run the transaction on this terminal.
run() - Method in class tppt.xopen.TwoPhaseController.Worker
 
runExp - Variable in class tppt.gui.ExpProgressFrame
 
RunExperiment - class tppt.util.RunExperiment.
RunExperiment is the class to activate the experiment progress.
RunExperiment.execExperiment - class tppt.util.RunExperiment.execExperiment.
This class runs the experiment progress in the background thread created by SwingWorker class.
RunExperiment.execExperiment(RunExperiment) - Constructor for class tppt.util.RunExperiment.execExperiment
Constructor
RunExperiment() - Constructor for class tppt.util.RunExperiment
Constructs the RunExperiment.
runningTrans - Static variable in interface tppt.xopen.TMInterface
Store all the running transactions using transaction id as the key and TransactionRecord as the value.
runTransaction(String) - Method in class tppt.util.Terminal
prepares the and runs the transaction with name- procName.

S

save() - Method in class tppt.gui.ReportFrame
The action handler for "save" button; write the result report to the file.
saveExp() - Method in class tppt.gui.DTFrame
Action handler for 'Save Experiment' button.
saveFC - Variable in class tppt.gui.ReportFrame
 
saveReport() - Method in class tppt.gui.TwoPhaseReportFrame
Save the log
SCPDIR - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for Script Files Dir is clicked
script_cycle - Variable in class tppt.util.Terminal
JY2001 for v1.4 JY changes the code to make it only execute the script file once.
scriptDir - Static variable in class tppt.db.GlobalData
The path of script files.
scriptFileExt - Static variable in class tppt.db.GlobalData
The extension of script file.
scriptFileName - Variable in class tppt.util.Terminal
 
scriptFilesExist() - Static method in class tppt.db.GlobalData
Checks whether the Script Files Directory provided by user contains all the script files needed.
selectArgValues(String) - Method in class tppt.util.Terminal
retrieve a value for non-sesskey (terminal key or neither)argument.
selectSessKeyValues() - Method in class tppt.util.Terminal
select one value for each session-key argument and store them to the Vector- sessKeysVaules.
selectTermKeyValues() - Method in class tppt.util.Terminal
create a TermKeyValue class for each terminal key and read its values from each corresponding argument file.
serverFileParser() - Static method in class tppt.db.GlobalData
This method is used to parse the server.xml file using the XML parser.
serverFileURL - Static variable in class tppt.db.GlobalData
Stored the url for the server.xml file.
serverNamesFile - Static variable in class tppt.db.GlobalData
The defination of name and jdbc url for multipal servers.
sessKeys - Static variable in class tppt.db.GlobalData
a Vector to store the Session Keywords
sessKeysVaules - Variable in class tppt.util.Terminal
Array of session keys.
setArgumentValues(int, Object) - Method in class tppt.util.Transaction
 
setChained(boolean) - Method in class tppt.xopen.DBManager
 
setDefault() - Method in class tppt.gui.IsolationFrame
Sets a transaction to be default isolation level
setDefault() - Method in class tppt.gui.IsoTableModel
Sets every transaction type to be default isolation level
setDefault() - Method in class tppt.gui.MaxRowsFrame
Sets the max row value to be default value, which is 0.
setGlobalTransIso() - Method in class tppt.gui.IsoTableModel
If the user has changed the isolation level of any transaction type, update the information in global transaction table GlobalData.transactions.
setId(String) - Method in class tppt.db.DBSetting
Set up the user id.
setIsolationLevel(int) - Method in class tppt.util.Transaction
 
setIsolations() - Static method in class tppt.gui.DTFrame
Action handler for 'Set Isolation Levels' button.
setIsoLevels() - Method in class tppt.gui.ExpFrame
Action handler for 'Set Isolation Levels' button in Experiment Setup panel.
setJDBCDriver(String) - Method in class tppt.db.DBSetting
Set the JDBC driver.
setLevel() - Method in class tppt.gui.IsolationFrame
Sets the new isolation levels for the transactions highlighted in preview table
setMaxRows() - Method in class tppt.gui.ExpFrame
Action handler for 'Set Max Rows Per Page' button in Experiment Setup panel.
setMaxRows() - Static method in class tppt.gui.DTFrame
Action handler for 'Set Max_Rows_Per_Page' button.
setMaxRowsForTable(CallableStatement, String) - Method in class tppt.db.DBHandler
This method used to set up the maximun rows for a table.
setMaxRowsForTable(CallableStatement, String) - Method in class tppt.db.SybaseHandler
Set up the maximum-rows-per-page for specific table.
setMaxRowsForTable(CallableStatement, String) - Method in class tppt.db.DB2Handler
Set up the maximum-rows-per-page for specific table.
setMaxRowsPerPage() - Method in class tppt.db.DBHandler
Set up the maximum row per page for all the user created tables. table.
setMaxRowsPerPage() - Method in class tppt.db.SybaseHandler
Set up the maximum row per page for all the user created tables.
setMaxRowsPerPage() - Method in class tppt.db.DB2Handler
Set up the maximum row per page for all the user created tables.
setMultiJDBCURL(String) - Method in class tppt.db.DBSetting
Set up the JDBC url string for the multi-user mode.
setParameterNames(int, String) - Method in class tppt.util.Transaction
Set the name for parameterIndex-th parameter.
setParameterTypes(int, String) - Method in class tppt.util.Transaction
Set the type for parameterIndex-th parameter.
setPassd(String) - Method in class tppt.db.DBSetting
Set up the password.
setProxy(String) - Method in class tppt.db.DBSetting
Set up the proxy.
setServerFilePath(String) - Static method in class tppt.db.GlobalData
Set up the file path for the server.xml file
setSingleJDBCURL(String) - Method in class tppt.db.DBSetting
Set up the JDBC url string for the single-user mode.
setStatus(int) - Method in class tppt.xopen.TwoPhaseController.Worker
 
setting - Variable in class tppt.xopen.ResourceManager
Database Setting object used to stored the JDBC setting parameters.
setTransactionManager(TMInterface) - Method in interface tppt.xopen.APInterface
Set up the TransactionManager instance.
setTransactionManager(TMInterface) - Method in class tppt.xopen.ApplicationProgram
Set up the TransactionManager instance.
SetTransIsoList() - Method in class tppt.gui.IsoTableModel
Constructs the content of preview table by extracting information about each transaction type and current isolation level from the global transaction table GlobalData.transactions
setupConnection() - Method in class tppt.xopen.ResourceManager
Create the DBManager object if it has not been created.
setupSubTransaction() - Method in interface tppt.xopen.APInterface
Initiate and define the sub-transaction(s) under this method.
setupSubTransaction() - Method in class tppt.xopen.ApplicationProgram
Initiate and define the sub-transaction(s) under this method.
setValue(Object) - Method in class tppt.util.SwingWorker
Set the value produced by worker thread
setValueAt(Object, int, int) - Method in class tppt.gui.IsoTableModel
Sets the cell value for cell position [row, col]

setXA(AX) - Static method in class tppt.xopen.ResourceManager
Set up the AX.
showEndTime - Variable in class tppt.util.RunExperiment
The duration of experiment in seconds.
showError(String) - Static method in class tppt.db.GlobalData
Displays error messages in dialog box
showError(String) - Method in class tppt.gui.MaxRowsFrame
Private method for displaying error messages
showError(String) - Method in class tppt.util.Terminal
 
showError(String) - Method in class tppt.util.Transaction
 
showError(String) - Static method in class tppt.util.PrototypesAnalyzer
Displays an error message dialog.
showError(String) - Method in class tppt.util.RunExperiment
 
showInfo(String) - Static method in class tppt.db.GlobalData
Displays info messages in dialog box
showStartTime - Variable in class tppt.util.RunExperiment
The start time of experiment in milliseconds.
showTime - Variable in class tppt.util.RunExperiment
The duration of experiment has run in seconds so far.
single_url - Variable in class tppt.db.DBSetting
The JDBC url string for single-user mode
SINGLE_USER_MODE - Static variable in class tppt.db.GlobalData
 
singleAccntName - Static variable in class tppt.db.GlobalData
The user account for the single user mode.
singleAccntPasswd - Static variable in class tppt.db.GlobalData
The passward for the single user mode.
smallFont - Variable in class tppt.gui.IsolationFrame
 
smallFont - Variable in class tppt.gui.MaxRowsFrame
 
sourceDir - Static variable in class tppt.db.GlobalData
The path of source files.
sourceFileExt - Static variable in class tppt.db.GlobalData
The extension of the source files.
sourceFilesExist() - Static method in class tppt.db.GlobalData
Check whether the Transaction Source File Directory provided by user contains all the transaction source files needed.
SQLFileExecutor(String, String) - Method in class tppt.db.DBHandler
New version of initial procedure for "sync.xml".
SRCDIR - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for Trans Source Dir is clicked
start() - Method in class tppt.util.SwingWorker
Start the worker thread.
startExp() - Method in class tppt.gui.DTFrame
Action handler for 'Start Experiment' button.
startTransaction() - Method in class tppt.xopen.DBManager
Start the local transaction.
startTransaction() - Method in class tppt.xopen.ResourceManager
This method has to be called by user's Application Program so that the resource manager could start setup the connection and then start the local transaction to the underlining DBMS.
status - Variable in class tppt.xopen.ResourceManager
store the random generated status for this RM.
status - Variable in class tppt.xopen.TwoPhaseController.Worker
 
stmt - Variable in class tppt.xopen.DBManager
the Statement object.
stop - Variable in class tppt.util.Terminal
 
stopExp() - Method in class tppt.gui.DTFrame
Action handler for 'Stop Experiment' button.
stopExperiment() - Method in class tppt.util.RunExperiment
Terminate the terminals and timer before the experiemnt stops.
stopTerm() - Method in class tppt.util.Terminal
Set the stop flag to true to indicate this terminal has been stopped.
storeInput(boolean) - Method in class tppt.gui.ExpFrame
Stores all user inputs to global variables in GlobalData class.
SUCCEEDED - Variable in class tppt.util.Transaction
 
SuccessTime - Variable in class tppt.util.Transaction
Deprecated. This variable is obsolete.
SwingWorker - class tppt.util.SwingWorker.
SwingWorker is used to move a time-consuming task from an action event handler into a background thread, so that the GUI remains responsive.
SwingWorker.ThreadVar - class tppt.util.SwingWorker.ThreadVar.
Class to maintain reference to current worker thread under separate synchronization control.
SwingWorker.ThreadVar(Thread) - Constructor for class tppt.util.SwingWorker.ThreadVar
 
SwingWorker() - Constructor for class tppt.util.SwingWorker
Start a thread that will call the construct method and then exit.
SybaseDBLocker - class tppt.db.SybaseDBLocker.
SybaseDBLocker is the class that is responsbile to obtain and releasse the Database lock for the single user mode.
SybaseDBLocker() - Constructor for class tppt.db.SybaseDBLocker
The constructor
SybaseHandler - class tppt.db.SybaseHandler.
SybaseHandler is the class that implements the Sybase dependent methods in order to run the tool on the Sybase.
SybaseHandler() - Constructor for class tppt.db.SybaseHandler
 
syncObj - Variable in class tppt.xopen.TwoPhaseController.Worker
 
SyncSPFileName - Static variable in class tppt.db.GlobalData
The file coontains the stored procedure for synchronization

T

TABLE_ALREADY_EXIST - Static variable in class tppt.db.DBLocker
The SQL State Error code: the Sync table already exist.
TABLE_ALREADY_EXIST - Static variable in class tppt.db.DB2DBLocker
The SQL State Error code: the Sync table already exist.
TABLE_ALREADY_EXIST - Static variable in class tppt.db.SybaseDBLocker
The SQL State Error code: the Sync table already exist.
TABLE_LOCK_INUSE - Static variable in class tppt.db.DBLocker
The SQL State Error code: the Sync table has been locked.
TABLE_LOCK_INUSE - Static variable in class tppt.db.DB2DBLocker
The SQL State Error code: the Sync table has been locked.
TABLE_LOCK_INUSE - Static variable in class tppt.db.SybaseDBLocker
The SQL State Error code: the Sync table has been locked.
term - Variable in class tppt.util.RunExperiment
 
Terminal - class tppt.util.Terminal.
Terminal is a thread to simulate a terminal that run the a group of transaction session user define in the Transaction Script File.
Terminal(int) - Constructor for class tppt.util.Terminal
 
terminalNum - Variable in class tppt.util.Terminal
Terminal number to identify this terminal.
terminals - Variable in class tppt.util.RunExperiment
A Vector of Terminal instance.
terminate() - Method in class tppt.xopen.TwoPhaseController.Worker
 
termKey - Variable in class tppt.util.TermKeyValues
 
termKeys - Static variable in class tppt.db.GlobalData
a Vectoe to store the Terminal Keywords
termKeysValues - Variable in class tppt.util.Terminal
Array of TermKeyValues instance.
TermKeyValues - class tppt.util.TermKeyValues.
TermKeyValues class is used to hold the terminal key and its values.
TermKeyValues(String) - Constructor for class tppt.util.TermKeyValues
 
thinkTime - Static variable in class tppt.db.GlobalData
The interval of each transaction in seconds.
thread - Variable in class tppt.util.SwingWorker
 
thread - Variable in class tppt.util.SwingWorker.ThreadVar
 
threadVar - Variable in class tppt.util.SwingWorker
 
tid - Variable in class tppt.xopen.TransactionRecord
Transaction id
tid - Static variable in class tppt.xopen.TransactionManager
This variable stored the global transaction sequence.
tid - Variable in class tppt.xopen.ResourceManager
Global Transaction Id
tid - Variable in class tppt.xopen.ApplicationProgram
Transaction id
timer - Variable in class tppt.gui.ExpProgressFrame
 
timer - Variable in class tppt.util.RunExperiment
 
timer - Variable in class tppt.xopen.TwoPhaseController
The timer that control the transition of the worker.
tm - Static variable in class tppt.xopen.TransactionManager
The Transaction Manager instance.
tm - Variable in class tppt.xopen.ApplicationProgram
Transaction Manager
tm - Variable in class tppt.xopen.TwoPhaseController
 
TM_VOTE_ABORT - Static variable in class tppt.xopen.Message
This constant returns from RM to TM when it votes abort.
TM_VOTE_READY - Static variable in class tppt.xopen.Message
This constant returns from RM to TM when it votes ready.
tmClassPath - Variable in class tppt.xopen.TwoPhaseController
File path to load the TransactionManager
TMFILE - Variable in class tppt.gui.ExpFrame
Indicates the Browse button for TM class is clicked - jodie
TMInterface - interface tppt.xopen.TMInterface.
TMInterface defines the interface the user's TransactionManager has to implement.
toolBar - Variable in class tppt.gui.DTFrame
the tool bar
toString() - Method in class tppt.util.Transaction
return a string representation of Transaction, for debugging purpose
tppt.db - package tppt.db
 
tppt.gui - package tppt.gui
 
tppt.util - package tppt.util
 
tppt.xopen - package tppt.xopen
 
trace - Static variable in class tppt.xopen.ResourceManager
The trace list stores a list of created ResourceManager object.
Transaction - class tppt.util.Transaction.
Transaction class represents as a transaction method the user defined in the transaction prototype file.
Transaction(String, String, String) - Constructor for class tppt.util.Transaction
Constructs a Transaction that initialized with a transaction class name, transaction name and return type.
TransactionManager - class tppt.xopen.TransactionManager.
This class implements the simple version of Transaction Manager in the two-phase commit protocol.
TransactionManager() - Constructor for class tppt.xopen.TransactionManager
The constructor
TransactionRecord - class tppt.xopen.TransactionRecord.
TransactionRecord is the data structure used to store the registered ResourceManager instances for specific Transaction Id.
TransactionRecord(int) - Constructor for class tppt.xopen.TransactionRecord
Construct the TransactionRecord with the trainsaction id
transactions - Static variable in class tppt.db.GlobalData
a Vector to store the Transactions.
transClassName - Variable in class tppt.util.Transaction
 
transClassSuffix - Static variable in class tppt.db.GlobalData
The suffix of the transaction class -"Class" String.
transCount - Variable in class tppt.gui.ReportTableModel
 
transCounter - Static variable in class tppt.db.GlobalData
the total number of sucessful transactions in all the simulating terminals.
transCounter - Variable in class tppt.util.Transaction
The accumulated number of the sucessful transactions.
transEndTime - Static variable in class tppt.db.GlobalData
The most late transaction end time out of all transactions.
transFields - Variable in class tppt.util.PrototypesAnalyzer
an array of all distinct parameters in Transaction prototype file except Connection parameter
transIsoList - Variable in class tppt.gui.IsoTableModel
a 2-dimentional array keeping track of each transaction type and its current isolation level
transName - Variable in class tppt.util.Transaction
 
transRTList - Variable in class tppt.gui.ReportTableModel
The data array
transStartTime - Static variable in class tppt.db.GlobalData
The earliest transaction start time out of all transactions.
transTable - Variable in class tppt.util.PrototypesAnalyzer
 
transTableSetup() - Static method in class tppt.db.GlobalData
Set up the transaction table and keywords by parsing the GlobalData.protoFile file.
ts - Variable in class tppt.gui.IsolationFrame
the radio button for iso level 3 (Serializable)
TSLimit - Static variable in class tppt.db.GlobalData
Maximum execution Limit(in sec) an experiment could hold the lock of the Sync table in the sigle user mode.
TwoPhaseController - class tppt.xopen.TwoPhaseController.
TwoPhaseController class is the main class to perform the two-phase commit simulation environment.
TwoPhaseController.Worker - class tppt.xopen.TwoPhaseController.Worker.
The Worker class.
TwoPhaseController.Worker(TwoPhaseController, APInterface) - Constructor for class tppt.xopen.TwoPhaseController.Worker
 
TwoPhaseController() - Constructor for class tppt.xopen.TwoPhaseController
Empty constructor.
TwoPhaseController(String, String, int, String) - Constructor for class tppt.xopen.TwoPhaseController
The constructor.
twoPhaseDBInit(String) - Method in class tppt.db.DBHandler
This method is used to parse the XML format DB initialization file for two-phase commit experiment.
twoPhaseDBInit(String) - Method in class tppt.xopen.TwoPhaseController
Initialize the database.
TwoPhaseLogger - class tppt.gui.TwoPhaseLogger.
This class is a customized JList worked as a logger in the TwoPhaseReportFrame.
TwoPhaseLogger() - Constructor for class tppt.gui.TwoPhaseLogger
The constructor
TwoPhaseReportFrame - class tppt.gui.TwoPhaseReportFrame.
This frame shows the log window that records the response and validation from the two-phase commit experiment.
TwoPhaseReportFrame() - Constructor for class tppt.gui.TwoPhaseReportFrame
Constrcuts the TwoPhaseReportFrame.
twoPhaseStart() - Method in class tppt.gui.ExpFrame
User asked to start the two-phase commit.
tx - Variable in class tppt.xopen.TwoPhaseController
 
TX - interface tppt.xopen.TX.
TX is the name of the service shared by the AP and the TM.
tx_begin() - Method in interface tppt.xopen.TX
AP calls this method to obtains the global transaction id.
tx_begin() - Method in class tppt.xopen.TransactionManager
Application Program should call this method in order to obtain a global traansaction Id.
tx_close(int) - Method in interface tppt.xopen.TX
AP called this method to close this global transaction.
tx_close(int) - Method in class tppt.xopen.TransactionManager
Application Program should call this method to close the global trnsaction.
tx_commit(int) - Method in interface tppt.xopen.TX
AP called this method to tell TM that it is ready to commit and then TM will start to perform two-phase commit protocol.
tx_commit(int) - Method in class tppt.xopen.TransactionManager
Application Program should call this method when it is ready to commit.
txtApDir - Variable in class tppt.gui.ExpFrame
 
txtArgDir - Variable in class tppt.gui.ExpFrame
 
txtDBInitFile - Variable in class tppt.gui.ExpFrame
 
txtDBSchemaFile - Variable in class tppt.gui.ExpFrame
 
txtMaxRows - Variable in class tppt.gui.MaxRowsFrame
Input field for max rows per page value
txtName - Variable in class tppt.gui.ExpFrame
 
txtPasswd - Variable in class tppt.gui.ExpFrame
 
txtProto - Static variable in class tppt.gui.ExpFrame
 
txtRun - Variable in class tppt.gui.ExpFrame
 
txtSchemaFile - Variable in class tppt.gui.ExpFrame
 
txtScpDir - Variable in class tppt.gui.ExpFrame
 
txtSrcDir - Variable in class tppt.gui.ExpFrame
 
txtTerm - Variable in class tppt.gui.ExpFrame
 
txtThink - Variable in class tppt.gui.ExpFrame
 
txtTm - Variable in class tppt.gui.ExpFrame
 

U

unregisterRM(int) - Method in class tppt.xopen.TransactionRecord
Unregister the ResourceManager
updateDLcounter() - Static method in class tppt.util.Transaction
 
updateProgress() - Method in class tppt.gui.ExpProgressFrame
Action handler for the timer.
url - Variable in class tppt.gui.HtmlPane.PageLoader
 
userid - Static variable in class tppt.db.DB2DBLocker
 
Utils - class tppt.util.Utils.
A Utility class for easy manupilation of file names and extensions.
Utils() - Constructor for class tppt.util.Utils
 

V

value - Variable in class tppt.gui.ListItem
The value of the word
value - Variable in class tppt.util.SwingWorker
 
values - Variable in class tppt.util.TermKeyValues
 

W

wakeUp() - Method in class tppt.xopen.TwoPhaseController.Worker
 
worker - Variable in class tppt.util.RunExperiment
 
worker - Variable in class tppt.xopen.TwoPhaseController
The array of Worker.
workRequest(int, String, String, String, String, String, String, String) - Method in class tppt.xopen.ApplicationProgram
This method is private method used to set up the JDBC parameters for the specific sub-transaction.
wri - Static variable in class tppt.util.Utils
the Performance Measurement Report file extension
writeRTTable(RandomAccessFile) - Method in class tppt.gui.ReportTableModel
Write out the data array to the file.

X

XA - interface tppt.xopen.XA.
XA is the name of the services shared by the TM and the RM.
xa_close() - Method in interface tppt.xopen.XA
Transaction Manager calls xa_close() to close the transaction for specific Resource Manager
xa_close() - Method in class tppt.xopen.ResourceManager
XA implementation.
xa_commit() - Method in interface tppt.xopen.XA
Transaction Manager calls xa_commit() to commit the transaction for specific Resource Manager.
xa_commit() - Method in class tppt.xopen.ResourceManager
XA implementation.
xa_prepare() - Method in interface tppt.xopen.XA
Transaction Manager calls xa_prepare() to notify the Resource Manager to return their vote for this global transaction.
xa_prepare() - Method in class tppt.xopen.ResourceManager
The XA implementation.
xa_rollback() - Method in interface tppt.xopen.XA
Transaction Manager calls xa_rollback() to rollback the transaction for specific Resource Manager.
xa_rollback() - Method in class tppt.xopen.ResourceManager
XA implementation.

A B C D E F G H I L M N O P Q R S T U V W X