|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.base.TraceBuffer
This class creates an intermediate buffer used in performing a trace. This isolates the application as much as possible from the performance impact of doing the trace.
Constructor Summary | |
---|---|
TraceBuffer(int maxLines)
This constructor creates a TraceBuffer object with a size of maxLines. |
Method Summary | |
---|---|
TraceLine |
pop()
Reads and removes the oldest entry in the buffer. |
void |
push(TraceLine aLine)
Stores a new entry in the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TraceBuffer(int maxLines)
maxLines
- intMethod Detail |
public TraceLine pop() throws java.lang.InterruptedException
java.lang.InterruptedException
public void push(TraceLine aLine) throws java.lang.InterruptedException
aLine
- com.ibm.dse.base.TraceLine
java.lang.InterruptedException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |