|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.api.jdbc.SQLTraceRecord
public class SQLTraceRecord
Information related to SQL operations executed by the applications are stored in this object. This trace record is used to log all the sql statements in a particular format.
| Constructor Summary | |
|---|---|
SQLTraceRecord()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
Gets the class name of the SQL query expressed as a String. |
java.lang.String |
getMethodName()
Gets the method name that executed the SQL query. |
java.lang.Object[] |
getParams()
Gets the parameters of the method that executed the SQL query. |
java.lang.String |
getPoolName()
Gets the pool name in which the SQL statement is executed. |
long |
getThreadID()
Gets the thread ID from which the SQL statement originated. |
java.lang.String |
getThreadName()
Gets the thread Name from which the SQL statement originated. |
long |
getTimeStamp()
Gets the time of execution of query. |
void |
setClassName(java.lang.String className)
Sets the class name of the SQL query expressed as a String. |
void |
setMethodName(java.lang.String methodName)
Sets the method name that executes the SQL query. |
void |
setParams(java.lang.Object[] params)
Sets the parameters of the method that executed the SQL query. |
void |
setPoolName(java.lang.String poolName)
Sets the poolName in which the SQL statement is executed. |
void |
setThreadID(long threadID)
Sets the thread ID from which the SQL statement originated. |
void |
setThreadName(java.lang.String threadName)
Sets the thread Name from which the SQL statement originated. |
void |
setTimeStamp(long timeStamp)
Sets the time of execution of query. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SQLTraceRecord()
| Method Detail |
|---|
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className - class name of the SQL query.public java.lang.String getMethodName()
public void setMethodName(java.lang.String methodName)
methodName - that executes the SQL query.public java.lang.String getPoolName()
public void setPoolName(java.lang.String poolName)
poolName - in which the SQL statement is executed.public long getThreadID()
public void setThreadID(long threadID)
threadID - from which the SQL statement originated.public java.lang.String getThreadName()
public void setThreadName(java.lang.String threadName)
threadName - from which the SQL statement originated.public long getTimeStamp()
public void setTimeStamp(long timeStamp)
timeStamp - of execution of query.public java.lang.Object[] getParams()
public void setParams(java.lang.Object[] params)
params - method parameters that execute SQL query.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||