|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.servlet.debug.ServletRecordQueue
Constructor Summary | |
protected |
ServletRecordQueue(int queueSize)
Construct a new queue. |
Method Summary | |
protected ServletTransactionRecord |
addRecord(ServletTransactionRecord transactionRecord)
Add a record to the queue; if this forces a record out, it is returned. |
protected void |
clear()
Clear all entries from the queue. |
protected void |
dumpContents(ServletRecordCallback callback)
FIX: I need javadoc |
protected ServletTransactionRecord |
findById(int transactionId)
Find an entry in the queue based on tranaction record id. |
java.util.Enumeration |
getContents()
Get the current contents of the queue. |
int |
size()
Get the current number of items in the queue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ServletRecordQueue(int queueSize)
queueSize
- maximum number of servlet transaction records that
can be queued at a given time.Method Detail |
public int size()
protected ServletTransactionRecord addRecord(ServletTransactionRecord transactionRecord)
transactionRecord
- the record to add to the queue.
null
if an entry was not removed.protected void clear()
protected ServletTransactionRecord findById(int transactionId)
transactionId
- unique number identifying the desired transaction
record.
null
if the transaction
is no longer in the queue.protected void dumpContents(ServletRecordCallback callback)
callback
- FIX: ???public java.util.Enumeration getContents()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |