org.apache.uima.util

## Interface CasPoolManagement

- All Superinterfaces:
    ManagementObject

      public interface CasPoolManagement
      extends ManagementObject

  Management interface to a `CasPool`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getAvailableInstances()` Get the number of CAS instances currently available in the pool.
    `int` | `getPoolSize()` Get the total size of the CAS Pool.

    - ### Methods inherited from interface org.apache.uima.resource.ManagementObject

      `getUniqueMBeanName`

- - ### Method Detail

    - #### getPoolSize

          int getPoolSize()

      Get the total size of the CAS Pool.
      Returns:
        the pool size

    - #### getAvailableInstances

          int getAvailableInstances()

      Get the number of CAS instances currently available in the pool.
      Returns:
        the number of available CAS instances

Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.