com.ibm.tuningfork.tracegen.chunk
Class Chunk
java.lang.Object
com.ibm.tuningfork.tracegen.chunk.RawChunk
com.ibm.tuningfork.tracegen.chunk.Chunk
- Direct Known Subclasses:
- EventChunk, EventTypeChunk, EventTypeSpaceChunk, FeedletChunk, PropertyTableChunk, SpaceDescriptorChunk, StringTableChunk
public abstract class Chunk
- extends RawChunk
Constructor Summary |
protected |
Chunk(int chunkType)
|
protected |
Chunk(int chunkType,
byte[] buffer)
|
protected |
Chunk(int chunkType,
int capacity)
|
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 |
MAGIC_WORD_1
private static final int MAGIC_WORD_1
- See Also:
- Constant Field Values
MAGIC_WORD_2
private static final int MAGIC_WORD_2
- See Also:
- Constant Field Values
LENGTH_OFFSET
private static final int LENGTH_OFFSET
- See Also:
- Constant Field Values
CHUNK_TYPE_OFFSET
private static final int CHUNK_TYPE_OFFSET
- See Also:
- Constant Field Values
DATA_OFFSET
protected static final int DATA_OFFSET
- See Also:
- Constant Field Values
DEFAULT_CHUNK_SIZE
protected static final int DEFAULT_CHUNK_SIZE
- See Also:
- Constant Field Values
Chunk
protected Chunk(int chunkType,
byte[] buffer)
Chunk
protected Chunk(int chunkType,
int capacity)
Chunk
protected Chunk(int chunkType)
close
public void close()
- Overrides:
close
in class RawChunk
resetImpl
protected void resetImpl()
- Overrides:
resetImpl
in class RawChunk
getChars
protected char[] getChars(String s)