title: Adding Objects to KeyedObjectPool<K,V> in Apache commons pool
body: <p>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?</p>
  
  <p>Changes to question:
  [One example I found]
  <a href="http://www.javacodegeeks.com/2013/02/pool-of-ssh-connections-using-apache-keyedobjectpool.html" rel="nofollow">http://www.javacodegeeks.com/2013/02/pool-of-ssh-connections-using-apache-keyedobjectpool.html</a></p>
  
  <p>Suppose I want to implement a Keyed Pool of connections, where every key refers to one connection:</p>
  
  <p>for example: KeyObjectPool item</p>
  
  <p>So my question how do i add new connections to this?
  is there something like item.add(key, value) ?</p>