org.apache.uima.util
Interface CasPoolManagement

All Superinterfaces:
ManagementObject

public interface CasPoolManagement
extends ManagementObject

Management interface to a CasPool.


Method Summary
 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 © 2010 The Apache Software Foundation. All Rights Reserved.