org.softevo.ample.sibrelib.runtime
Class SequenceWriter
java.lang.Object
org.softevo.ample.sibrelib.runtime.SequenceWriter
- All Implemented Interfaces:
- org.softevo.sibrelib.runtime.Constants
- Direct Known Subclasses:
- ClassSequenceWriter, ObjectSequenceWriter
public class SequenceWriter
- extends java.lang.Object
- implements org.softevo.sibrelib.runtime.Constants
- Author:
- dallmeier
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Fields inherited from interface org.softevo.sibrelib.runtime.Constants |
CLASS_CALLER, CLASS_ID, CLASS_METHOD, CLASS_OBJECT, CLASS_THREAD, KEY_IDENTITYMAP, KEY_INTERNAL, KEY_OUTPUTFILE, KEY_UNDERFLOW, KEY_WINDOWSIZE, LINENUMBER_UNDEFINED, OBJECTID_STATIC, RET_CALLER_POPFAIL, RET_CALLER_PUSHFAIL, RET_CONFIGFAIL, RET_TRACE_FILEOPEN, RET_TRACE_WRITE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classToPatternSetMap
protected static org.apache.commons.lang.IntHashMap classToPatternSetMap
windowSize
protected static int windowSize
lock
protected static java.lang.Object lock
entryCounter
protected static int entryCounter
outputFileName
protected static java.lang.String outputFileName
identityMapFileName
protected static java.lang.String identityMapFileName
identityMap
protected static java.util.HashMap identityMap
methodTracer
protected static org.softevo.sibrelib.runtime.CalledMethodsTracer methodTracer
SequenceWriter
public SequenceWriter()
readConfiguration
protected static void readConfiguration()
readIdentityMap
protected static void readIdentityMap(java.lang.String fileName)
writeResults
protected static void writeResults(org.apache.commons.lang.IntHashMap classToPatternSetMap,
SequenceWriter.PatternNameWriter patternNameWriter)
getOrCreatePatternSet
protected static java.util.HashMap getOrCreatePatternSet(int classId)
- Gets the pattern set for a class.
If none exists in the map, a new instance
is created.