Class XSnapshotInfo

java.lang.Object
org.eclipse.mat.snapshot.SnapshotInfo
org.eclipse.mat.parser.model.XSnapshotInfo
All Implemented Interfaces:
Serializable

public final class XSnapshotInfo extends SnapshotInfo
Basic information about the snapshot which can be updated as data is read from the dump.
See Also:
  • Constructor Details

    • XSnapshotInfo

      public XSnapshotInfo()
      Simple constructor, with real data added later using setters.
  • Method Details

    • setPrefix

      public void setPrefix(String prefix)
      Set the prefix used for index files.
      Parameters:
      prefix - the path prefix
      See Also:
    • setPath

      public void setPath(String path)
      Sets the path to the snapshot file.
      Parameters:
      path - the file path
      See Also:
    • setCreationDate

      public void setCreationDate(Date creationDate)
      Sets the creation date of the snapshot
      Parameters:
      creationDate - the date of creation
      See Also:
    • setIdentifierSize

      public void setIdentifierSize(int identifierSize)
      Sets the identifier size for the snapshot.
      Parameters:
      identifierSize - the size in bits
      See Also:
    • setJvmInfo

      public void setJvmInfo(String jvmInfo)
      Sets information about the JVM.
      Parameters:
      jvmInfo - a short description of the JVM
      See Also:
    • setNumberOfClasses

      public void setNumberOfClasses(int numberOfClasses)
      Sets the total number of classes.
      Parameters:
      numberOfClasses - how many classes
      See Also:
    • setNumberOfClassLoaders

      public void setNumberOfClassLoaders(int numberOfClassLoaders)
      Sets the total number of class loaders.
      Parameters:
      numberOfClassLoaders - how many class loaders
      See Also:
    • setNumberOfGCRoots

      public void setNumberOfGCRoots(int numberOfGCRoots)
      Sets the number of GC roots.
      Parameters:
      numberOfGCRoots - the number of GC roots
      See Also:
    • setNumberOfObjects

      public void setNumberOfObjects(int numberOfObjects)
      Sets the number of objects.
      Parameters:
      numberOfObjects - the total number of objects
      See Also:
    • setUsedHeapSize

      public void setUsedHeapSize(long usedHeapSize)
      Sets the total used heap size.
      Parameters:
      usedHeapSize - the total heap size in bytes
      See Also: