beautypg.com

Geterrorcount, Getusecount, Intransaction – HP NonStop G-Series User Manual

Page 284: Isalive, Transaction class, Transaction methods

background image

getErrorCount

final int getErrorCount()

Usage Get the cumulative system error count.

getUseCount

final int getUseCount()

Usage Get the outstanding request count.

inTransaction

boolean inTransaction()

Returns True if the connection is in a transaction; false otherwise.

Usage Check if the connection is in a transaction.

isAlive

boolean isAlive()

Returns True if the connection is still alive; false otherwise.

Usage Check if the connection is still alive.

Transaction Class

java.lang.Object
|
+----bea.web.Transaction

This class is a wrapper for the bea.joltJoltTransaction class. If an error occurs, the method in
this class returns an error code instead of throwing an exception.

Transaction Methods

The following methods are used in conjunction with the Transaction class:

commit