|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.dataobjects.BaseDataObject
com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject
com.jcorporate.expresso.core.dbobj.DBObject
com.jcorporate.expresso.core.dbobj.SecuredDBObject
com.jcorporate.expresso.ext.dbobj.PerfTests
PerfTests List of URL's to execute and time, along with statistics on their execution time.
| Nested Class Summary |
| Nested classes inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
DBObject.FieldError, DBObject.FieldUpdate |
| Field Summary |
| Fields inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
ADD, ALL_FUNCTIONS, CACHE_NAME, CACHE_TTY, DELETE, SEARCH, SYSTEM_ACCOUNT, SYSTEM_ACCOUNT_NAME, UPDATE |
| Fields inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
ATTRIBUTE_ERROR, ATTRIBUTE_ERROR_MESSAGE, ATTRIBUTE_PAGE_LIMIT, BIG_DECIMAL_ZERO, EMAIL_MASK, EVENT_ADD, EVENT_DELETE, EVENT_UPDATE, FLOAT_MASK, INT_MASK, IS_CHECK_RELATIONAL_INTEGRITY, UPDATE_CHANGED_ONLY, WHERE_KEYWORD |
| Fields inherited from class com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject |
anyFieldsDistinct, anyFieldsToRetrieve, appendCustomWhere, caseSensitiveQuery, customWhereClause, dbKey, distinctFields, localConnection, LONGBINARY_READ_DEFAULT_SIZE, maxRecords, myClassName, myUpdates, offsetRecord, recordSet, retrieveFields, sMetadataMap, sortKeys |
| Fields inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
currentStatus, globalMask |
| Fields inherited from interface com.jcorporate.expresso.core.dataobjects.DataObject |
STATUS_CURRENT, STATUS_DELETED, STATUS_NEW, STATUS_UPDATED |
| Constructor Summary | |
PerfTests()
Constructor |
|
PerfTests(ControllerRequest request)
For using DBObjects within Controllers. |
|
PerfTests(int uid)
Use over (String) constructor. |
|
| Method Summary | |
String |
getField(String fieldName)
Get the string value of a field in this object as a string |
Vector |
getValidValues(String fieldName)
New method to replace getValues with a structure of valid values and descriptions. |
PerfTestResult |
run(String currentSessionId)
Run the current test |
static PerfTestResult |
runAll(String dbName,
String currentSessionId)
Run all defined tests |
static PerfTestResult |
runSet(String dbName,
String setNumber,
String currentSessionId)
Run all defined tests |
void |
setupFields()
Define the table and fields for this object |
| Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
add, canRequesterAdd, canRequesterDelete, canRequesterRead, canRequesterUpdate, checkAllowed, copyAttributes, count, createSecurityCache, delete, deleteAll, find, getRequestingUid, getString, getString, getString, getString, getString, getString, getSystemUid, instantiate, isAllowed, retrieve, search, searchAndRetrieveList, searchAndRetrieveList, setRequestingUid, update |
| Methods inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
getGlobalMask, getStatus, isGlobalMasked, setFieldsWithDefaults, setGlobalMask, setStatus |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PerfTests()
throws DBException
public PerfTests(int uid)
throws DBException
uid - the Uid of the user context
DBException - if there's an initialization problem
public PerfTests(ControllerRequest request)
throws DBException
request - - The controller request handed to you by the framework.
DBException - if there's an initialization problem| Method Detail |
public String getField(String fieldName)
throws DBException
DBObject
getField in interface DataObjectgetField in class DBObjectfieldName - the name of the field
DBException - upon error
public Vector getValidValues(String fieldName)
throws DBException
DBObject
getValidValues in class DBObjectfieldName - The name of the fields for which a value set is requested
DBException - upon error.
public void setupFields()
throws DBException
setupFields in class DBObjectDBException - If there is an error setting up the fields
as requested. For example, if a field allowing null is requested
as part of the key
public PerfTestResult run(String currentSessionId)
throws DBException
currentSessionId - ?
DBException
public static PerfTestResult runAll(String dbName,
String currentSessionId)
throws DBException
dbName - database contextcurrentSessionId - where to store the results
DBException - upon error
public static PerfTestResult runSet(String dbName,
String setNumber,
String currentSessionId)
throws DBException
dbName - database contextsetNumber - the 'id' of the test setcurrentSessionId - ?
DBException
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||