0 Replies Latest reply on Jul 18, 2014 4:41 AM by Alexey Olenev

    How to limit number of connections to DB?

    Alexey Olenev Newbie

      Hi all,

      I'm writing a CacheStore implementation using org.infinispan.persistence.jdbc.connectionfactory.PooledConnectionFactory and can't find how to limit number of connections. According to documentation I can do it in "<write-benid />" element, but it's written that most of this functionality is not implemented yet (I mean configuration parameters like scheduled write-behind etc)

      And if I want to use my custom implementation of read-through/write-through how should I configure number of connections to DB?

       

      Thank you in advance.