public class CasPoolManagementImpl extends Object implements CasPoolManagement, CasPoolManagementImplMBean
Constructor and Description |
---|
CasPoolManagementImpl(CasPool aCasPool,
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.
|
String |
getUniqueMBeanName()
Gets a valid JMX MBean name that is unique among all ManagementObjects in this JVM.
|
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 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 © 2006–2022 The Apache Software Foundation. All rights reserved.