public interface TConnectionPool
Modifier and Type | Method and Description |
---|---|
void |
deleteConnection(TPooledConnection p0)
Method deleteConnection
|
TConnection |
getConnection()
Gets a openned connection from the pool.
|
TConnectionPoolDescriptor |
getDescriptor()
Gets the TCOnnectionPoolDescriptor
|
java.util.Locale |
getLocale()
Gets Locale
|
java.lang.String |
getName()
Gets the connection pools logical name.
|
TConnectionPoolStatistics |
getStatistics()
Method getStatistics
|
void |
release()
Releases all openned connections given within the pool.
|
void |
retainConnection(TConnection connection)
Retains the handed connection back to the pool.
|
void |
setLocale(java.util.Locale locale)
Sets Locale
|
TConnectionPoolStatistics getStatistics()
void deleteConnection(TPooledConnection p0)
p0
- a TConnectionWrapperTConnection getConnection() throws TConnectionNotAvailableException
TConnectionNotAvailableException
void retainConnection(TConnection connection)
connection
- is the TConnection that should be put pack into the pool.void release()
java.lang.String getName()
TConnectionPoolDescriptor getDescriptor()
void setLocale(java.util.Locale locale)
java.util.Locale getLocale()
Copyright (c) 2016 Software AG. All Rights Reserved.