com.ibm.security.certclient.util
Class PkPool
- java.lang.Object
com.ibm.security.certclient.util.PkPool
- public class PkPool
- extends Object
PkPool
manages a pool of objects.
Author:
Krishna Yellepeddy , Eric Storch
Constructor Summary
Constructor and Description |
---|
PkPool()
Create an empty pool of objects.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
pop()
Return one of the available objects in no particular order.
|
|
|
push(Object obj)
Place the
obj back in the pool of available objects.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PkPool
- public PkPool()
Create an empty pool of objects.
Method Detail
pop
- public Object pop()
- throws PkException
Return one of the available objects in no particular order.
Throws:
push
- public void push(Object obj)
Place the
obj
back in the pool of available objects.