Package org.jruby.management
Class BeanManagerImpl
java.lang.Object
org.jruby.management.BeanManagerImpl
- All Implemented Interfaces:
BeanManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregister(JITCompilerMBean jitCompiler) voidregister(CachesMBean caches) voidregister(ConfigMBean config) voidregister(InlineStats inlineStats) voidregister(ParserStatsMBean parserStats) voidbooleanAttempt to restart the current JVM's JMX agent.booleanAttempt to shut down the current JVM's JMX agent.voidvoidvoidvoidvoidvoid
-
Field Details
-
base
-
-
Constructor Details
-
BeanManagerImpl
-
-
Method Details
-
register
- Specified by:
registerin interfaceBeanManager
-
register
- Specified by:
registerin interfaceBeanManager
-
register
- Specified by:
registerin interfaceBeanManager
-
register
- Specified by:
registerin interfaceBeanManager
-
register
- Specified by:
registerin interfaceBeanManager
-
register
- Specified by:
registerin interfaceBeanManager
-
unregisterCompiler
public void unregisterCompiler()- Specified by:
unregisterCompilerin interfaceBeanManager
-
unregisterConfig
public void unregisterConfig()- Specified by:
unregisterConfigin interfaceBeanManager
-
unregisterParserStats
public void unregisterParserStats()- Specified by:
unregisterParserStatsin interfaceBeanManager
-
unregisterMethodCache
public void unregisterMethodCache()- Specified by:
unregisterMethodCachein interfaceBeanManager
-
unregisterRuntime
public void unregisterRuntime()- Specified by:
unregisterRuntimein interfaceBeanManager
-
unregisterInlineStats
public void unregisterInlineStats()- Specified by:
unregisterInlineStatsin interfaceBeanManager
-
tryShutdownAgent
public boolean tryShutdownAgent()Description copied from interface:BeanManagerAttempt to shut down the current JVM's JMX agent. Uses reflection tricks, so it may fail; return value indicates if it was successful.- Specified by:
tryShutdownAgentin interfaceBeanManager- Returns:
- true if successful; false otherwise
-
tryRestartAgent
public boolean tryRestartAgent()Description copied from interface:BeanManagerAttempt to restart the current JVM's JMX agent. May fail, so the return value indicates success.- Specified by:
tryRestartAgentin interfaceBeanManager- Returns:
- true if successful; false otherwise
-