beautypg.com

Connection object, Connection methods, Getaccesstime – HP NonStop G-Series User Manual

Page 304: Getaddr, Geterrorcount

background image

Connection Object

This object represents a connection (TUXEDO session) to a Jolt server and provides simple
methods for connection status. It is returned from the getConnection method on the SessionPool
object. This object is a part of the administrative class library.

Connection Methods

The following methods are used in conjunction with the Connection object:

getAccessTime

getAddr

getErrorCount

getUseCount

inTransaction

isAlive

getAccessTime

Date getAccessTime()

Usage Get the last access time of this object.

getAddr

String getAddr()

Usage Get the server address.

getErrorCount

int getErrorCount()

Usage Get the cumulative system error count.