id |
Toolkit service identifier. |
className |
Name of the class that implements Poolable. The Generic Pool service
instantiates this class and initializes it in the Hashtable. |
serviceName |
Name of the service (identifier) that implements Poolable. The Generic
Pool service instantiates this service and initializes it in the Hashtable
(XOR with className). |
initialSize |
Number of Poolable objects instantiated when the pool is initialized. |
maxPoolSize |
Maximum number of elements the pool may contain. The pool size never
exceeds this number. |
timeBetweenRetries |
Number of milliseconds before the Generic Pool service attempts a retry
if an instance of the requested Poolable is not available. If the retry does
not succeed, the Generic Pool service returns a value of null to the application.
The service retries only once.
A value of 0 means no retries. The default
value is 2000 (2 seconds). |
cleanupTime |
Time in seconds that occurs between occurrences of the orphan object
checking process and the resizing process. The orphan object checking process
finds orphan Poolables and release them from their requesters. The resizing
process reduces or increases the pool size depending on the number of concurrent
request since the last resizing process. The pool size never exceeds the maxPoolSize value
and never falls below the size value.
The default is 0, which
means the pool is not resized. |
orphanTimeout |
Time in seconds that an assigned Poolable can stay inactive
before the Generic Pool marks it as an orphan Poolable. Orphan Poolables will
be released from their requester when the cleanupTime attribute triggers the
orphan object check process. |