Package org.eclipse.mat.parser.model
Class XSnapshotInfo
java.lang.Object
org.eclipse.mat.snapshot.SnapshotInfo
org.eclipse.mat.parser.model.XSnapshotInfo
- All Implemented Interfaces:
- Serializable
Basic information about the snapshot which can be updated as 
 data is read from the dump.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionSimple constructor, with real data added later using setters.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetCreationDate(Date creationDate) Sets the creation date of the snapshotvoidsetIdentifierSize(int identifierSize) Sets the identifier size for the snapshot.voidsetJvmInfo(String jvmInfo) Sets information about the JVM.voidsetNumberOfClasses(int numberOfClasses) Sets the total number of classes.voidsetNumberOfClassLoaders(int numberOfClassLoaders) Sets the total number of class loaders.voidsetNumberOfGCRoots(int numberOfGCRoots) Sets the number of GC roots.voidsetNumberOfObjects(int numberOfObjects) Sets the number of objects.voidSets the path to the snapshot file.voidSet the prefix used for index files.voidsetUsedHeapSize(long usedHeapSize) Sets the total used heap size.Methods inherited from class org.eclipse.mat.snapshot.SnapshotInfogetCreationDate, getIdentifierSize, getJvmInfo, getNumberOfClasses, getNumberOfClassLoaders, getNumberOfGCRoots, getNumberOfObjects, getPath, getPrefix, getProperty, getUsedHeapSize, setProperty, toString
- 
Constructor Details- 
XSnapshotInfopublic XSnapshotInfo()Simple constructor, with real data added later using setters.
 
- 
- 
Method Details- 
setPrefixSet the prefix used for index files.- Parameters:
- prefix- the path prefix
- See Also:
 
- 
setPathSets the path to the snapshot file.- Parameters:
- path- the file path
- See Also:
 
- 
setCreationDateSets the creation date of the snapshot- Parameters:
- creationDate- the date of creation
- See Also:
 
- 
setIdentifierSizepublic void setIdentifierSize(int identifierSize) Sets the identifier size for the snapshot.- Parameters:
- identifierSize- the size in bits
- See Also:
 
- 
setJvmInfoSets information about the JVM.- Parameters:
- jvmInfo- a short description of the JVM
- See Also:
 
- 
setNumberOfClassespublic void setNumberOfClasses(int numberOfClasses) Sets the total number of classes.- Parameters:
- numberOfClasses- how many classes
- See Also:
 
- 
setNumberOfClassLoaderspublic void setNumberOfClassLoaders(int numberOfClassLoaders) Sets the total number of class loaders.- Parameters:
- numberOfClassLoaders- how many class loaders
- See Also:
 
- 
setNumberOfGCRootspublic void setNumberOfGCRoots(int numberOfGCRoots) Sets the number of GC roots.- Parameters:
- numberOfGCRoots- the number of GC roots
- See Also:
 
- 
setNumberOfObjectspublic void setNumberOfObjects(int numberOfObjects) Sets the number of objects.- Parameters:
- numberOfObjects- the total number of objects
- See Also:
 
- 
setUsedHeapSizepublic void setUsedHeapSize(long usedHeapSize) Sets the total used heap size.- Parameters:
- usedHeapSize- the total heap size in bytes
- See Also:
 
 
-