|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.wgen.op.db.CallExecutionInfo
Information about the execution of a DatabaseCall. This is used as an internal field of the DatabaseCall.
| Field Summary | |
private boolean |
_error
|
private java.lang.String |
_errorMessage
|
private boolean |
_executed
Whether or not this call was executed. |
private java.lang.String |
_executedAgainst
The url of the connection that executed this call. |
private java.lang.String |
_executedAs
The database user that execute this call. |
private long |
_executionTimestamp
Set immediately after the execution or failure of the call. |
private int |
_totalRows
|
private long |
_totalTime
|
| Constructor Summary | |
CallExecutionInfo()
|
|
| Method Summary | |
java.lang.String |
getErrorMessage()
The error message, if any. |
java.lang.String |
getExecutedAgainst()
The connection url of the database connection that was used to execute the call. |
java.lang.String |
getExecutedAs()
The user name of the database connection that was used to execute the call. |
long |
getExecutionTimestamp()
The time at which the call was executed or failed. |
int |
getTotalRows()
The rows returned in ResultSets by the call. |
long |
getTotalTime()
The time elapsed during execution of the call and handling of its outputs. |
boolean |
isError()
Whether or not there was an error during the call's execution or output handling. |
boolean |
isExecuted()
Whether or not the call was executed. |
void |
setError(boolean error)
Whether or not there was an error during the call's execution or output handling. |
void |
setErrorMessage(java.lang.String errorMessage)
|
void |
setExecuted()
Records that this call has been executed and records the system time in the executionInfo. |
void |
setExecutedAgainst(java.lang.String executedAgainst)
|
void |
setExecutedAs(java.lang.String executedAs)
|
void |
setExecutionTimestamp(long executionTimestamp)
The time at which the call was executed or failed. |
void |
setTotalRows(int totalRows)
The rows returned in ResultSets by the call. |
void |
setTotalTime(long totalTime)
The total time elapsed by the call execution and the handling of the call's outputs. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private long _executionTimestamp
private long _totalTime
private int _totalRows
private boolean _executed
private boolean _error
private java.lang.String _executedAs
private java.lang.String _executedAgainst
private java.lang.String _errorMessage
| Constructor Detail |
public CallExecutionInfo()
| Method Detail |
public long getExecutionTimestamp()
public void setExecutionTimestamp(long executionTimestamp)
setExecuted()public long getTotalTime()
public void setTotalTime(long totalTime)
CallExecutorDB.processPostCallOptions(DatabaseCall)public int getTotalRows()
public void setTotalRows(int totalRows)
public boolean isError()
public void setError(boolean error)
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
public final boolean isExecuted()
public final void setExecuted()
public java.lang.String getExecutedAs()
public void setExecutedAs(java.lang.String executedAs)
public java.lang.String getExecutedAgainst()
public void setExecutedAgainst(java.lang.String executedAgainst)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||