ERXJDBCConnectionBroker.ConnectionWrapper Class Reference

Collaboration diagram for ERXJDBCConnectionBroker.ConnectionWrapper:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Connection getConnection ()
long getCreationDate ()
long getLockTime ()
int getStatus ()
boolean isFree ()
void lock ()
void setConnection (Connection connection)
void setCreationDate (long creationDate)
void setLockTime (long lockTime)
void setStatus (int status)
String toString ()
void unlock ()

Private Member Functions

void clearWarnings ()
void close ()
 ConnectionWrapper (ERXJDBCConnectionBroker broker) throws SQLException
void ping ()
void reap (long maxCheckoutMillis, long maxConnectionAgeMillis) throws SQLException

Private Attributes

ERXJDBCConnectionBroker broker
Connection connection
long creationDate
long lockTime
String pingStatement = ERXProperties.stringForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.connectionPingSQL", "SELECT 1+1;")
int status

Static Private Attributes

static final int BUSY = 1
static final int FREE = 0
static final int OFFLINE = 2


Constructor & Destructor Documentation

ConnectionWrapper ( ERXJDBCConnectionBroker  broker  )  throws SQLException [private]


Member Function Documentation

void clearWarnings (  )  [private]

void close (  )  [private]

Connection getConnection (  ) 

long getCreationDate (  ) 

long getLockTime (  ) 

int getStatus (  ) 

boolean isFree (  ) 

void lock (  ) 

void ping (  )  [private]

void reap ( long  maxCheckoutMillis,
long  maxConnectionAgeMillis 
) throws SQLException [private]

void setConnection ( Connection  connection  ) 

void setCreationDate ( long  creationDate  ) 

void setLockTime ( long  lockTime  ) 

void setStatus ( int  status  ) 

String toString (  ) 

void unlock (  ) 


Member Data Documentation

final int BUSY = 1 [static, private]

Connection connection [private]

long creationDate [private]

final int FREE = 0 [static, private]

long lockTime [private]

final int OFFLINE = 2 [static, private]

String pingStatement = ERXProperties.stringForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.connectionPingSQL", "SELECT 1+1;") [private]

int status [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:15 2012 for Project Wonder by  doxygen 1.5.8