|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.fusesource.mq.ProducerThread
public class ProducerThread
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected JMSService |
service
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ProducerThread(JMSService service,
java.lang.String dest)
|
|
| Method Summary | |
|---|---|
protected javax.jms.Message |
createMessage(int i)
|
int |
getMessageCount()
|
int |
getSentCount()
|
boolean |
isRunning()
|
void |
run()
|
void |
setMessageCount(int messageCount)
|
void |
setMessageSize(int size)
|
void |
setPersistent(boolean persistent)
|
void |
setRunning(boolean running)
|
void |
setSleep(int sleep)
|
void |
setTransactionBatchSize(int transactionBatchSize)
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected JMSService service
| Constructor Detail |
|---|
public ProducerThread(JMSService service,
java.lang.String dest)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
protected javax.jms.Message createMessage(int i)
throws java.lang.Exception
java.lang.Exceptionpublic void setMessageCount(int messageCount)
public void setSleep(int sleep)
public int getMessageCount()
public int getSentCount()
public void setPersistent(boolean persistent)
public void setMessageSize(int size)
public void setTransactionBatchSize(int transactionBatchSize)
public boolean isRunning()
public void setRunning(boolean running)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||