public interface ModuleLoaderMXBean
| Modifier and Type | Method | Description | 
|---|---|---|
String | 
dumpAllModuleInformation() | 
 Dump all information for all modules as a string. 
 | 
String | 
dumpModuleInformation(String name) | 
 Dump all information for a single module as a string. 
 | 
int | 
getClassCount() | 
 Get the number of classes defined in this module loader. 
 | 
long | 
getClassDefineTime() | 
 Get the estimated CPU time (in nanoseconds) spent defining classes for this loader. 
 | 
String | 
getClassLocation(String moduleName,
                String className) | 
 Get the code source location of a class within a module. 
 | 
List<DependencyInfo> | 
getDependencies(String name) | 
 Get the dependencies of the named module. 
 | 
String | 
getDescription() | 
 Get a description of this module loader. 
 | 
long | 
getLinkTime() | 
 Get the estimated CPU time (in nanoseconds) spent linking in the life of this module loader. 
 | 
int | 
getLoadedModuleCount() | 
 Get the number of modules currently loaded. 
 | 
long | 
getLoadTime() | 
 Get the estimated CPU time (in nanoseconds) spent loading modules into this loader. 
 | 
ModuleInfo | 
getModuleDescription(String name) | 
 Get the complete description of this module. 
 | 
SortedMap<String,List<String>> | 
getModulePathsInfo(String name,
                  boolean exports) | 
 Get a paths map for a given module. 
 | 
int | 
getRaceCount() | 
 Get the number of times a class was defined by two threads at once. 
 | 
List<ResourceLoaderInfo> | 
getResourceLoaders(String name) | 
 Get the resource loaders of the named module. 
 | 
int | 
getScanCount() | 
 Get the number of times that dependencies of a module from this loader have been scanned. 
 | 
List<String> | 
queryLoadedModuleNames() | 
 Obtain a list of the current module names. 
 | 
void | 
refreshResourceLoaders(String name) | 
 Attempt to refresh the resource loaders of the given module. 
 | 
void | 
relink(String name) | 
 Attempt to relink the given module. 
 | 
boolean | 
unloadModule(String name) | 
 Attempt to unload a module from this module loader. 
 | 
String getDescription()
long getLinkTime()
long getLoadTime()
long getClassDefineTime()
int getScanCount()
int getLoadedModuleCount()
int getRaceCount()
int getClassCount()
List<String> queryLoadedModuleNames()
String dumpModuleInformation(String name)
name - the module nameString dumpAllModuleInformation()
boolean unloadModule(String name)
name - the string form of the module identifier to unloadtrue if the module was unloadedvoid refreshResourceLoaders(String name)
name - the name of the module to refreshvoid relink(String name)
name - the name of the module to relinkList<DependencyInfo> getDependencies(String name)
name - the module nameList<ResourceLoaderInfo> getResourceLoaders(String name)
name - the module nameModuleInfo getModuleDescription(String name)
name - the module nameSortedMap<String,List<String>> getModulePathsInfo(String name, boolean exports)
name - the module nameexports - true for the exported paths, false for all pathsCopyright © 2022 JBoss by Red Hat. All rights reserved.