|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread biz.chitec.qdemo.gjsa.TransactionLoggerDemo.DataProducer
Log data creator. Creates a more or less steady stream of background data and writes them into the logger.
Field Summary | |
private long |
currentmsgnum
|
private java.sql.Statement |
dbstmt
|
private TransactionLogger |
tl
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
TransactionLoggerDemo.DataProducer(TransactionLogger tlx,
java.sql.Connection conn)
Constructor for the DataProducer object |
Method Summary | |
long |
getLastProduced()
Gets the lastProduced attribute of the DataProducer object |
void |
run()
Main processing method for the DataProducer object |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.sql.Statement dbstmt
private long currentmsgnum
private TransactionLogger tl
Constructor Detail |
public TransactionLoggerDemo.DataProducer(TransactionLogger tlx, java.sql.Connection conn)
tlx
- Description of the Parameterconn
- Description of the ParameterMethod Detail |
public long getLastProduced()
public void run()
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |