org.apache.uima.util.impl
public class CasPoolManagementImpl extends java.lang.Object implements CasPoolManagement, CasPoolManagementImplMBean
Constructor and Description |
---|
CasPoolManagementImpl(CasPool aCasPool,
java.lang.String aUniqueMBeanName) |
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.
|
java.lang.String |
getUniqueMBeanName()
Gets a valid JMX MBean name that is unique among all ManagementObjects in this
JVM.
|
public CasPoolManagementImpl(CasPool aCasPool, java.lang.String aUniqueMBeanName)
public int getAvailableInstances()
CasPoolManagement
getAvailableInstances
in interface CasPoolManagement
getAvailableInstances
in interface CasPoolManagementImplMBean
public int getPoolSize()
CasPoolManagement
getPoolSize
in interface CasPoolManagement
getPoolSize
in interface CasPoolManagementImplMBean
public java.lang.String getUniqueMBeanName()
ManagementObject
If you are running with JRE 1.5, this is the name used to register this object with the platform MBeanServer.
getUniqueMBeanName
in interface ManagementObject
Copyright © 2014. All Rights Reserved.