Class CasPoolManagementImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      java.lang.String getUniqueMBeanName()
      Gets a valid JMX MBean name that is unique among all ManagementObjects in this JVM.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CasPoolManagementImpl

        public CasPoolManagementImpl​(CasPool aCasPool,
                                     java.lang.String aUniqueMBeanName)
    • Method Detail

      • getUniqueMBeanName

        public java.lang.String getUniqueMBeanName()
        Description copied from interface: ManagementObject
        Gets a valid JMX MBean name that is unique among all ManagementObjects in this JVM. (Technically, it is unique only among ManagementObjects objects loaded by the same ClassLoader, which is whatever ClassLoader was used to load the UIMA Framework classes.)

        If you are running with JRE 1.5, this is the name used to register this object with the platform MBeanServer.

        Specified by:
        getUniqueMBeanName in interface ManagementObject
        Returns:
        a unique MBean name