com.ibm.security.certclient.util

Class PkPool

  1. java.lang.Object
  2. extended bycom.ibm.security.certclient.util.PkPool

  1. public class PkPool
  2. extends Object
A 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
  1. Object
pop()
Return one of the available objects in no particular order.
  1. void
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

  1. public PkPool()
Create an empty pool of objects.

Method Detail

pop

  1. public Object pop()
  2. throws PkException
Return one of the available objects in no particular order.
Throws:

push

  1. public void push(Object obj)
Place the obj back in the pool of available objects.