Package org.jruby.management
Interface BeanManager
- All Known Implementing Classes:
BeanManagerImpl
public interface BeanManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(JITCompilerMBean jitCompiler) void
register
(CachesMBean methodCache) void
register
(ConfigMBean config) void
register
(InlineStats stats) void
register
(ParserStatsMBean parserStats) void
boolean
Attempt to restart the current JVM's JMX agent.boolean
Attempt to shut down the current JVM's JMX agent.void
void
void
void
void
void
-
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
-