pfg.gca
Class Context
java.lang.Object
|
+--pfg.gca.Context
- public class Context
- extends java.lang.Object
This class keeps track of GC information in the context of a single
loaded trace file.
- Author:
- Paul Glezen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROP_TITLE
public static final java.lang.String PROP_TITLE
PROP_VERSION
public static final java.lang.String PROP_VERSION
Context
public Context()
addProps
public void addProps(java.util.Properties newProps)
getCollectorFactory
public CollectorFactory getCollectorFactory()
getCurrentTraceFilename
public java.lang.String getCurrentTraceFilename()
- Get the name of the current verbose GC log file.
This property is stored using
PersistProps
so that
its value persists across program invocations.
getGCList
public java.util.List getGCList()
getJdktype
public java.lang.String getJdktype()
- Get the current JDK type.
This property is stored using
PersistProps
so that
its value persists across program invocations.
getProperty
public java.lang.String getProperty(java.lang.String propName)
setCollectorFactory
public void setCollectorFactory(CollectorFactory factory)
setCurrentTraceFilename
public void setCurrentTraceFilename(java.lang.String currentTraceFilename)
- Set the verbose GC file to use.
This property is persisted via
PersistProps
each
time it is set. This allows it to persist across program
invocations.
setGCList
public void setGCList(java.util.List l)
setJdktype
public void setJdktype(java.lang.String jdktype)
- Set the JDK type to use.
This property is persisted via
PersistProps
each
time it is set. This allows it to persist across program
invocations.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Generated: February 24 2005