I'm writing a service that runs continually and produces objects that I want
to put into a keyed pool.  Then there are consumers that will get and remove
the objects based on the key.  If the key is not found yet, the consumer
should wait until it is there or a timeout period is reached.  I started
looking at commons-pool and could not find any examples.  

1.  Could you point me to some examples, possibly one that uses a keyed
object pool?

2.  I'm concerned about using commons-pool because it seems to be geared
toward maintaining a pool of reusable objects.  I do not reuse the objects,
I consume them.  Is there somewhere else I should look that better matches
my needs?



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to