com.ibm.tuningfork.tracegen.chunk
Class PropertyTableChunk

java.lang.Object
  extended by com.ibm.tuningfork.tracegen.chunk.RawChunk
      extended by com.ibm.tuningfork.tracegen.chunk.Chunk
          extended by com.ibm.tuningfork.tracegen.chunk.PropertyTableChunk

public class PropertyTableChunk
extends Chunk


Field Summary
private  int numberOfProperties
           
static int PROPERTY_COUNT_OFFSET
           
static int PROPERTY_DATA_OFFSET
           
static int PROPERTY_TABLE_ID
           
 
Fields inherited from class com.ibm.tuningfork.tracegen.chunk.Chunk
DATA_OFFSET, DEFAULT_CHUNK_SIZE
 
Fields inherited from class com.ibm.tuningfork.tracegen.chunk.RawChunk
ENCODING_SPACE_DOUBLE, ENCODING_SPACE_INT, ENCODING_SPACE_LONG
 
Constructor Summary
PropertyTableChunk()
           
 
Method Summary
 boolean add(String prop, String val)
           
 void close()
           
 boolean hasData()
           
 void reset()
           
 
Methods inherited from class com.ibm.tuningfork.tracegen.chunk.Chunk
getChars, resetImpl
 
Methods inherited from class com.ibm.tuningfork.tracegen.chunk.RawChunk
addByte, addDouble, addDoubleUnchecked, addInt, addIntUnchecked, addLong, addLongUnchecked, addString, addStringInternal, getPosition, hasRoom, putIntAt, seek, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_TABLE_ID

public static final int PROPERTY_TABLE_ID
See Also:
Constant Field Values

PROPERTY_COUNT_OFFSET

public static final int PROPERTY_COUNT_OFFSET
See Also:
Constant Field Values

PROPERTY_DATA_OFFSET

public static final int PROPERTY_DATA_OFFSET
See Also:
Constant Field Values

numberOfProperties

private int numberOfProperties
Constructor Detail

PropertyTableChunk

public PropertyTableChunk()
Method Detail

add

public boolean add(String prop,
                   String val)

close

public void close()
Overrides:
close in class Chunk

hasData

public boolean hasData()

reset

public void reset()