Class ObjectPoolTest

    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectPoolTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void testWithoutPool()
      This one shows the result without pooling.
      void testWithPoolConcurrent()
      This one shows the result with pooling, starting with an empty pool, with concurrency.
      void testWithPoolNoWarmUp()
      This one shows the result with pooling, starting with an empty pool.
      void testWithPoolWarmUp()
      This one shows the result with pooling, starting with a filled pool.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • testWithoutPool

        public void testWithoutPool()
        This one shows the result without pooling.
      • testWithPoolNoWarmUp

        public void testWithPoolNoWarmUp()
        This one shows the result with pooling, starting with an empty pool.
      • testWithPoolWarmUp

        public void testWithPoolWarmUp()
        This one shows the result with pooling, starting with a filled pool.
      • testWithPoolConcurrent

        public void testWithPoolConcurrent()
                                    throws java.lang.Exception
        This one shows the result with pooling, starting with an empty pool, with concurrency.
        Throws:
        java.lang.Exception - on any error