Overview
Package
Class
Tree
Deprecated
Index
Help
PooliT v2.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
H
I
J
L
N
O
P
R
S
T
U
V
A
addListener(NotifierPoolListener)
- Method in class org.ascentphase.poolit.poolers.
NotifierPooler
Adds a listener to this Pooler to be notified when objects are fetched and released.
availPos
- Variable in class org.ascentphase.poolit.poolers.
FixedPooler
Points to the index in the pool array where the next available object can be retrieved from.
B
BaseHandler
- class org.ascentphase.poolit.handlers.
BaseHandler
.
This is a convenience base class for PoolHandler.
BaseHandler()
- Constructor for class org.ascentphase.poolit.handlers.
BaseHandler
C
CreateException
- exception org.ascentphase.poolit.
CreateException
.
Thrown to indicate an error occurred while trying to create a new object by the PoolHandler.
CreateException()
- Constructor for class org.ascentphase.poolit.
CreateException
CreateException(String)
- Constructor for class org.ascentphase.poolit.
CreateException
CreateException(Throwable)
- Constructor for class org.ascentphase.poolit.
CreateException
CreateException(String, Throwable)
- Constructor for class org.ascentphase.poolit.
CreateException
capacity()
- Method in class org.ascentphase.poolit.poolers.
FixedPooler
Reports the maximum number of objects this pool can contain.
cleaner
- Variable in class org.ascentphase.poolit.poolers.
TimeoutPooler
cleanup()
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
Examines each object to see if any of them needs to be removed because there time limit has exceeded.
clearWarnings()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
close()
- Method in interface org.ascentphase.poolit.
Pooler
Releases all objects in the pool and any resources held by these objects.
close()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
Puts this Connection object back into the pool from which it was retrieved.
close()
- Method in class org.ascentphase.poolit.poolers.
DisposablePooler
close()
- Method in class org.ascentphase.poolit.poolers.
FixedPooler
Destroys all objects in the pool.
close()
- Method in class org.ascentphase.poolit.poolers.
LimitedPooler
close()
- Method in class org.ascentphase.poolit.poolers.
NotifierPooler
close()
- Method in class org.ascentphase.poolit.poolers.
NotifyPooler
close()
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
commit()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
create()
- Method in interface org.ascentphase.poolit.
PoolHandler
Called by a Pooler to create a new object.
create()
- Method in class org.ascentphase.poolit.handlers.
BaseHandler
create()
- Method in class org.ascentphase.poolit.handlers.
InitialContextHandler
create()
- Method in class org.ascentphase.poolit.handlers.
JDBCHandler
create()
- Method in class org.ascentphase.poolit.handlers.
NoArgHandler
create()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnectionHandler
create()
- Method in class org.ascentphase.poolit.handlers.
SocketHandler
createStatement()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
createStatement(int, int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
createStatement(int, int, int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
D
DisposablePooler
- class org.ascentphase.poolit.poolers.
DisposablePooler
.
This pooler acts as a memory-sensitive pool.
DisposablePooler(PoolHandler)
- Constructor for class org.ascentphase.poolit.poolers.
DisposablePooler
Creates a new instance of DisposablePooler
destroy(Object)
- Method in interface org.ascentphase.poolit.
PoolHandler
Called by a Pooler to perform any cleanup and destroy the object for garbage collection.
destroy(Object)
- Method in class org.ascentphase.poolit.handlers.
BaseHandler
destroy(Object)
- Method in class org.ascentphase.poolit.handlers.
InitialContextHandler
Closes the InitialContext before being garbage-collected.
destroy(Object)
- Method in class org.ascentphase.poolit.handlers.
JDBCHandler
destroy(Object)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnectionHandler
destroy(Object)
- Method in class org.ascentphase.poolit.handlers.
SocketHandler
F
FetchException
- exception org.ascentphase.poolit.
FetchException
.
Thrown to indicate an error occurred trying to fetch an object from a Pooler.
FetchException()
- Constructor for class org.ascentphase.poolit.
FetchException
FetchException(String)
- Constructor for class org.ascentphase.poolit.
FetchException
FetchException(Throwable)
- Constructor for class org.ascentphase.poolit.
FetchException
FetchException(String, Throwable)
- Constructor for class org.ascentphase.poolit.
FetchException
FixedPooler
- class org.ascentphase.poolit.poolers.
FixedPooler
.
This Pooler implements a fixed-sized pool.
FixedPooler(Class, int)
- Constructor for class org.ascentphase.poolit.poolers.
FixedPooler
Creates a pool with the specified class and size.
FixedPooler(PoolHandler, int)
- Constructor for class org.ascentphase.poolit.poolers.
FixedPooler
Creates a pool using the specified handler and size.
fetch()
- Method in interface org.ascentphase.poolit.
Pooler
Retrieves an object from the pool.
fetch()
- Method in class org.ascentphase.poolit.poolers.
DisposablePooler
Retrieves an object from the pool.
fetch()
- Method in class org.ascentphase.poolit.poolers.
FixedPooler
fetch()
- Method in class org.ascentphase.poolit.poolers.
LimitedPooler
fetch()
- Method in class org.ascentphase.poolit.poolers.
NotifierPooler
fetch()
- Method in class org.ascentphase.poolit.poolers.
NotifyPooler
Retrieves an object from the pool and if the object implements the NotifyPoolListener interface, then it calls the objects fetched() method.
fetch()
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
fetched(Pooler)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
This method is called when the object is fetched from a NotifyPooler.
fetched(Object, Pooler)
- Method in interface org.ascentphase.poolit.poolers.
NotifierPoolListener
Called when an Object has been fetched from the given Pooler.
fetched(Pooler)
- Method in interface org.ascentphase.poolit.poolers.
NotifyPoolListener
This method is called when the object is fetched from a NotifyPooler.
fillPool()
- Method in class org.ascentphase.poolit.poolers.
FixedPooler
Called by constructor to fill up the pool.
fillPool(int)
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
Called by the constructor to fill the pool to the size specified.
G
getAutoCommit()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
getCatalog()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
getCleanupInterval()
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
getHoldability()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
getMetaData()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
getTimeout()
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
Returns the amount of time (in msec.) that an object is allowed to remain unused in the pool before it is removed.
getTransactionIsolation()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
getTypeMap()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
getWarnings()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
H
handler
- Variable in class org.ascentphase.poolit.poolers.
DisposablePooler
handler
- Variable in class org.ascentphase.poolit.poolers.
FixedPooler
handler
- Variable in class org.ascentphase.poolit.poolers.
TimeoutPooler
I
InitialContextHandler
- class org.ascentphase.poolit.handlers.
InitialContextHandler
.
Handler for InitialContext objects.
InitialContextHandler()
- Constructor for class org.ascentphase.poolit.handlers.
InitialContextHandler
Construct a handler to create InitialContext's with no initialization properties.
InitialContextHandler(Hashtable)
- Constructor for class org.ascentphase.poolit.handlers.
InitialContextHandler
Construct a handler to create InitialContext's with the given properties.
isClosed()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
isReadOnly()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
J
JDBCHandler
- class org.ascentphase.poolit.handlers.
JDBCHandler
.
This Handler takes care of creating/destroying/verifying JDBC Connections.
JDBCHandler(String, String, String, String)
- Constructor for class org.ascentphase.poolit.handlers.
JDBCHandler
Creates a PoolHandler for JDBC connections
L
LimitedPooler
- class org.ascentphase.poolit.poolers.
LimitedPooler
.
Wraps another Pooler class to limit the objects fetched by the pool.
LimitedPooler(Pooler, int)
- Constructor for class org.ascentphase.poolit.poolers.
LimitedPooler
Caps the Pooler specified to only allow a maximum number of objects out of the pool at any one time.
listeners
- Variable in class org.ascentphase.poolit.poolers.
NotifierPooler
N
NoArgHandler
- class org.ascentphase.poolit.handlers.
NoArgHandler
.
This is a Handler for objects with a "no-argument" constructor, ie: a constructor with a zero argument list.
NoArgHandler(Class)
- Constructor for class org.ascentphase.poolit.handlers.
NoArgHandler
Create a NoArgHandler for the specified class
NotifierPoolListener
- interface org.ascentphase.poolit.poolers.
NotifierPoolListener
.
Classes who wish to be informed of objects being fetched and released from a NotifierPooler must implement this interface.
NotifierPooler
- class org.ascentphase.poolit.poolers.
NotifierPooler
.
Notifies listeners who are interested in knowing when objects are being fetched and released.
NotifierPooler(Pooler)
- Constructor for class org.ascentphase.poolit.poolers.
NotifierPooler
NotifyPoolListener
- interface org.ascentphase.poolit.poolers.
NotifyPoolListener
.
Classes that wish to be notified when they are fetched from the pool and subsequently released back to the pool must implement this interface.
NotifyPooler
- class org.ascentphase.poolit.poolers.
NotifyPooler
.
Notifies objects when they are fetched from and released to the pool.
NotifyPooler(Pooler)
- Constructor for class org.ascentphase.poolit.poolers.
NotifyPooler
Creates a new instance of NotifyPooler
nativeSQL(String)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
O
org.ascentphase.poolit
- package org.ascentphase.poolit
org.ascentphase.poolit.handlers
- package org.ascentphase.poolit.handlers
org.ascentphase.poolit.poolers
- package org.ascentphase.poolit.poolers
P
PoolHandler
- interface org.ascentphase.poolit.
PoolHandler
.
Defines the required methods a PoolHandler must implement
Pooler
- interface org.ascentphase.poolit.
Pooler
.
Defines required methods to be implemented for Poolers.
PooliTConnection
- class org.ascentphase.poolit.handlers.
PooliTConnection
.
A JDBC Connection wrapper that is associated with a Pooler.
PooliTConnection(Connection)
- Constructor for class org.ascentphase.poolit.handlers.
PooliTConnection
Create a PoolitConnection that wraps the given Connection.
PooliTConnectionHandler
- class org.ascentphase.poolit.handlers.
PooliTConnectionHandler
.
This Handler is to be used exclusively with PooliTConnections.
PooliTConnectionHandler(String, String, String, String)
- Constructor for class org.ascentphase.poolit.handlers.
PooliTConnectionHandler
pool
- Variable in class org.ascentphase.poolit.poolers.
FixedPooler
pool
- Variable in class org.ascentphase.poolit.poolers.
NotifierPooler
postCreate(Socket)
- Method in class org.ascentphase.poolit.handlers.
SocketHandler
This method should be overridden by subclasses that need to perform connection setup prior to having the Socket used.
preDestroy(Socket)
- Method in class org.ascentphase.poolit.handlers.
SocketHandler
This method should be overridden by subclasses that need to perform connection cleanup after it is no longer used and to be garbage- collected.
prepareCall(String)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareCall(String, int, int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareCall(String, int, int, int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareStatement(String)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareStatement(String, int, int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareStatement(String, int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareStatement(String, int[])
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareStatement(String, String[])
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
prepareStatement(String, int, int, int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
pwd
- Variable in class org.ascentphase.poolit.handlers.
JDBCHandler
R
release(Object)
- Method in interface org.ascentphase.poolit.
Pooler
Returns an object to the pool.
release(Object)
- Method in class org.ascentphase.poolit.poolers.
DisposablePooler
Returns an object to the pool.
release(Object)
- Method in class org.ascentphase.poolit.poolers.
FixedPooler
release(Object)
- Method in class org.ascentphase.poolit.poolers.
LimitedPooler
release(Object)
- Method in class org.ascentphase.poolit.poolers.
NotifierPooler
release(Object)
- Method in class org.ascentphase.poolit.poolers.
NotifyPooler
Returns an object to the pool and if the object implements the NotifyPoolListener interface, then it calls the objects released() method.
release(Object)
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
releaseSavepoint(Savepoint)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
released(Pooler)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
This method is called when the object is released back to a NotifyPooler.
released(Object, Pooler)
- Method in interface org.ascentphase.poolit.poolers.
NotifierPoolListener
Called before an Object is to be released back into the given Pooler.
released(Pooler)
- Method in interface org.ascentphase.poolit.poolers.
NotifyPoolListener
This method is called when the object is released back to a NotifyPooler.
resize(int)
- Method in class org.ascentphase.poolit.poolers.
FixedPooler
Changes the size of the pool.
rollback()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
rollback(Savepoint)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
S
SocketHandler
- class org.ascentphase.poolit.handlers.
SocketHandler
.
Handler for Socket connections.
SocketHandler(InetAddress, int)
- Constructor for class org.ascentphase.poolit.handlers.
SocketHandler
SocketHandler(String, int)
- Constructor for class org.ascentphase.poolit.handlers.
SocketHandler
setAutoCommit(boolean)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
setCatalog(String)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
setCleanupInterval(long)
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
setHoldability(int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
setReadOnly(boolean)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
setSavepoint()
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
setSavepoint(String)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
setTimeout(long)
- Method in class org.ascentphase.poolit.poolers.
TimeoutPooler
Sets the amount of time (in msec.) that an object is allowed to remain unused in the pool before it is removed.
setTransactionIsolation(int)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
setTypeMap(Map)
- Method in class org.ascentphase.poolit.handlers.
PooliTConnection
size()
- Method in class org.ascentphase.poolit.poolers.
FixedPooler
Reports the number of objects currently in the pool.
T
TimeoutPooler
- class org.ascentphase.poolit.poolers.
TimeoutPooler
.
This Pooler will keep objects in its pool for a specified amount of time.
TimeoutPooler(Class, int, long, long)
- Constructor for class org.ascentphase.poolit.poolers.
TimeoutPooler
Creates a TimeoutPooler for the specified class and size.
TimeoutPooler(PoolHandler, int, long, long)
- Constructor for class org.ascentphase.poolit.poolers.
TimeoutPooler
Creates a TimeoutPooler with the specified Handler and size.
U
url
- Variable in class org.ascentphase.poolit.handlers.
JDBCHandler
user
- Variable in class org.ascentphase.poolit.handlers.
JDBCHandler
V
verify(Object)
- Method in interface org.ascentphase.poolit.
PoolHandler
Called by a Pooler to verify that the object is in a consistent and useable state.
verify(Object)
- Method in class org.ascentphase.poolit.handlers.
BaseHandler
verify(Object)
- Method in class org.ascentphase.poolit.handlers.
JDBCHandler
verify(Object)
- Method in class org.ascentphase.poolit.handlers.
SocketHandler
A
B
C
D
F
G
H
I
J
L
N
O
P
R
S
T
U
V
Overview
Package
Class
Tree
Deprecated
Index
Help
PooliT v2.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2005
Ascent Phase Corp.