Very less documentation is present for this online. Does anyone know how to add new K,V to this KeyedPool. There is an entity for addObject, but how is it referred to k, v?
Changes to question: [One example I found] http://www.javacodegeeks.com/2013/02/pool-of-ssh-connections-using-apache-keyedobjectpool.html
Suppose I want to implement a Keyed Pool of connections, where every key refers to one connection:
for example: KeyObjectPool item
So my question how do i add new connections to this? is there something like item.add(key, value) ?