org.eclipse.mat.snapshot.model
Interface IClassLoader
- All Superinterfaces:
- IInstance, IObject, java.io.Serializable
- All Known Implementing Classes:
- ClassLoaderImpl
public interface IClassLoader
- extends IInstance
An interface for class loader.
Nested classes/interfaces inherited from interface org.eclipse.mat.snapshot.model.IObject |
IObject.Type |
Methods inherited from interface org.eclipse.mat.snapshot.model.IObject |
getClassSpecificName, getClazz, getDisplayName, getGCRootInfo, getObjectAddress, getObjectId, getOutboundReferences, getRetainedHeapSize, getSnapshot, getTechnicalName, getUsedHeapSize, resolveValue |
getRetainedHeapSizeOfObjects
long getRetainedHeapSizeOfObjects(boolean calculateIfNotAvailable,
boolean calculateMinRetainedSize,
IProgressListener listener)
throws SnapshotException
- Returns the retained size of all objects and classes loaded by this class
loader.
- Parameters:
calculateIfNotAvailable
- if false only return a cached version of the sizecalculateMinRetainedSize
- if true then when calculating use an approximationlistener
- to indicate progress and errors
- Returns:
- the retained size, negative if approximate
- Throws:
SnapshotException
getDefinedClasses
java.util.List<IClass> getDefinedClasses()
throws SnapshotException
- Returns the classes defined by this class loader instance.
- Throws:
SnapshotException