Package org.apache.uima.util
Interface CasPoolManagement
- All Superinterfaces:
ManagementObject
- All Known Implementing Classes:
CasPoolManagementImpl
Management interface to a
CasPool
.-
Method Summary
Modifier and TypeMethodDescriptionint
Get the number of CAS instances currently available in the pool.int
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
-