Class MVMPoolManager

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.jmx.export.naming.SelfNaming

    @ManagedResource(objectName="com.levigo.jadice.server:name=MVMPoolManager",
                     description="A managed pool of jadice server VM instances")
    public class MVMPoolManager
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.jmx.export.naming.SelfNaming
    Deprecated.
    The multi-VM mode will be removed with the next major release
    This class manages a set (team) of jadice server instances in a multi-VM instance pool. Instances are monitored for having died or become locked up.
    • Constructor Detail

      • MVMPoolManager

        public MVMPoolManager()
        Deprecated.
    • Method Detail

      • getVMCount

        @ManagedAttribute(description="The effective number of VMs to use")
        public int getVMCount()
        Deprecated.
      • getPerProcessorVMCount

        @ManagedAttribute(description="The per-processor number of VMs to use")
        public int getPerProcessorVMCount()
        Deprecated.
        Returns:
        the perProcessorVMCount
      • setPerProcessorVMCount

        public void setPerProcessorVMCount​(int perProcessorVMCount)
        Deprecated.
        Parameters:
        perProcessorVMCount - the perProcessorVMCount to set
      • getFixedVMCount

        @ManagedAttribute(description="The fixed number of VMs to use")
        public int getFixedVMCount()
        Deprecated.
        Returns:
        the fixedVMCount
      • setFixedVMCount

        public void setFixedVMCount​(int fixedVMCount)
        Deprecated.
        Parameters:
        fixedVMCount - the fixedVMCount to set
      • isRunning

        @ManagedAttribute(description="Flag indicating whether the pool is running")
        public boolean isRunning()
        Deprecated.
      • destroy

        public void destroy()
        Deprecated.
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
      • getInstanceJVMOptions

        @ManagedAttribute(description="Additional arguments to apply to each instance JVM startup")
        public List<String> getInstanceJVMOptions()
        Deprecated.
        Returns:
        the instanceJVMOptions
      • setInstanceJVMOptions

        public void setInstanceJVMOptions​(List<String> instanceJVMOptions)
        Deprecated.
        Parameters:
        instanceJVMOptions - the instanceJVMOptions to set
      • getInstanceHeartbeatTimeout

        public int getInstanceHeartbeatTimeout()
        Deprecated.
        Returns:
        the instanceHeartbeatTimeout
      • setInstanceHeartbeatTimeout

        public void setInstanceHeartbeatTimeout​(int instanceHeartbeatTimeout)
        Deprecated.
        Parameters:
        instanceHeartbeatTimeout - the instanceHeartbeatTimeout to set
      • getJMXContext

        public static JMXContext getJMXContext()
        Deprecated.
      • setJMXContext

        public void setJMXContext​(JMXContext ctx)
        Deprecated.