Package org.jruby.management
Interface BeanManager
- All Known Implementing Classes:
BeanManagerImpl
public interface BeanManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister(JITCompilerMBean jitCompiler) voidregister(CachesMBean methodCache) voidregister(ConfigMBean config) voidregister(InlineStats stats) voidregister(ParserStatsMBean parserStats) voidbooleanAttempt to restart the current JVM's JMX agent.booleanAttempt to shut down the current JVM's JMX agent.voidvoidvoidvoidvoidvoid
-
Method Details
-
register
-
register
-
register
-
register
-
register
-
register
-
unregisterCompiler
void unregisterCompiler() -
unregisterConfig
void unregisterConfig() -
unregisterMethodCache
void unregisterMethodCache() -
unregisterParserStats
void unregisterParserStats() -
unregisterRuntime
void unregisterRuntime() -
unregisterInlineStats
void unregisterInlineStats() -
tryShutdownAgent
boolean tryShutdownAgent()Attempt to shut down the current JVM's JMX agent. Uses reflection tricks, so it may fail; return value indicates if it was successful.- Returns:
- true if successful; false otherwise
-
tryRestartAgent
boolean tryRestartAgent()Attempt to restart the current JVM's JMX agent. May fail, so the return value indicates success.- Returns:
- true if successful; false otherwise
-