org.jboss.jca.core.connectionmanager.pool.api

## Interface CapacityIncrementer

- All Known Implementing Classes:
    MaxPoolSizeIncrementer, SizeIncrementer, WatermarkIncrementer

      public interface CapacityIncrementer

  The capacity incrementer policy
  Author:
    Jesper Pedersen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `shouldCreate(int currentSize, int maxSize, int created)` Should the connection listener be created

- - ### Method Detail

    - #### shouldCreate

          boolean shouldCreate(int currentSize,
                               int maxSize,
                               int created)

      Should the connection listener be created
      Parameters:
        `currentSize` - The current pool size
        `maxSize` - The maximum pool size
        `created` - The number of connection listeners created during this call cycle
      Returns:
        `True` if a connection listener should be created; otherwise `false`

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)