GCA 0.4.0

pfg.gca.collector.regexp
Class IBM131a

java.lang.Object
  |
  +--pfg.gca.collector.regexp.IBM131a
All Implemented Interfaces:
ICollector

public class IBM131a
extends java.lang.Object
implements ICollector

A GC record collector for IBM JDKs: 1.3.1, 1.4.1 and 1.4.2. This class was originally targeted specifically to the IBM 1.3.1 JDK, hence the name. Since the next two JDKs did not change the verbose GC record format, this class is used for those as well.

The suffix "a" in this class name has no significance. It was merely made in anticipation that there might be other implementations that could then use "b", "c" and so on.

Author:
Paul Glezen

Field Summary
static java.lang.String RE_GC_FREED
           
static java.lang.String RE_GC_HEADER
           
static java.lang.String RE_GC_TIMES
           
 
Constructor Summary
IBM131a()
          Compile the required regular expressions.
 
Method Summary
 java.lang.String getDescription()
          Return a description of the JDKs supported by this collector.
 java.util.List getGCList(java.io.Reader reader)
          Read raw verbose GC text from a Reader to create a List of GCRecord instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RE_GC_FREED

public static final java.lang.String RE_GC_FREED

RE_GC_HEADER

public static final java.lang.String RE_GC_HEADER

RE_GC_TIMES

public static final java.lang.String RE_GC_TIMES
Constructor Detail

IBM131a

public IBM131a()
Compile the required regular expressions.
Method Detail

getDescription

public java.lang.String getDescription()
Return a description of the JDKs supported by this collector. In this case, these JDKs are

  1. IBM JDK 1.3.1
  2. IBM JDK 1.4.1
  3. IBM JDK 1.4.2

Specified by:
getDescription in interface ICollector

getGCList

public java.util.List getGCList(java.io.Reader reader)
                         throws java.io.IOException
Read raw verbose GC text from a Reader to create a List of GCRecord instances. This method is where most of the collector work is done.
Specified by:
getGCList in interface ICollector

Paul Glezen
http://glezen.org/gca/

Generated: February 24 2005