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

    How to limit number of connections to DB?

    aolenev

      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.