org.jboss.jca.core.connectionmanager.pool.capacity

## Class ExplicitCapacity

- java.lang.Object
- - org.jboss.jca.core.connectionmanager.pool.capacity.ExplicitCapacity

- All Implemented Interfaces:
    Capacity

      public class ExplicitCapacity
      extends java.lang.Object
      implements Capacity

  Explicit capacity policy
  Author:
    Jesper Pedersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExplicitCapacity(CapacityIncrementer incrementer, CapacityDecrementer decrementer)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `CapacityDecrementer` | `getDecrementer()` Get the decrementer policy
    `CapacityIncrementer` | `getIncrementer()` Get the incrementer policy

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ExplicitCapacity

          public ExplicitCapacity(CapacityIncrementer incrementer,
                                  CapacityDecrementer decrementer)

      Constructor
      Parameters:
        `incrementer` - The incrementer
        `decrementer` - The decrementer

  - ### Method Detail

    - #### getIncrementer

          public CapacityIncrementer getIncrementer()

      Get the incrementer policy
      Specified by:
        `getIncrementer` in interface `Capacity`
      Returns:
        The policy; can be `null` for container default policy

    - #### getDecrementer

          public CapacityDecrementer getDecrementer()

      Get the decrementer policy
      Specified by:
        `getDecrementer` in interface `Capacity`
      Returns:
        The policy; can be `null` for container default policy

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