Package org.apache.uima.util

# Interface CasPoolManagement

All Superinterfaces:
  `ManagementObject`

All Known Implementing Classes:
  `CasPoolManagementImpl`

public interface CasPoolManagement extends ManagementObject
Management interface to a `CasPool`.

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### 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