TorqueBox 3.1.2

org.torquebox.core.runtime
Interface BasicRubyRuntimePoolMBean

All Known Subinterfaces:
RestartableRubyRuntimePoolMBean
All Known Implementing Classes:
DefaultRubyRuntimePool, RestartableRubyRuntimePool, SharedRubyRuntimePool

public interface BasicRubyRuntimePoolMBean


Method Summary
 Object evaluate(String code)
           
 Set<String> getAllRuntimeNames()
           
 int getAvailable()
           
 int getBorrowed()
           
 int getMaximumInstances()
           
 int getMinimumInstances()
           
 String getName()
           
 int getSize()
           
 boolean isLazy()
           
 boolean isStarted()
           
 void setMaximumInstances(int maxInstances)
           
 void setMinimumInstances(int minInstances)
           
 

Method Detail

getName

String getName()

evaluate

Object evaluate(String code)
                throws Exception
Throws:
Exception

getAllRuntimeNames

Set<String> getAllRuntimeNames()

setMinimumInstances

void setMinimumInstances(int minInstances)

getMinimumInstances

int getMinimumInstances()

setMaximumInstances

void setMaximumInstances(int maxInstances)

getMaximumInstances

int getMaximumInstances()

isLazy

boolean isLazy()

isStarted

boolean isStarted()

getSize

int getSize()

getBorrowed

int getBorrowed()

getAvailable

int getAvailable()

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.