Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected javax.jms.Session |
session |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ProducerThread(javax.jms.Session session,
javax.jms.Destination destination,
int threadNr) |
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, yieldpublic ProducerThread(javax.jms.Session session,
javax.jms.Destination destination,
int threadNr)
protected javax.jms.Message createMessage(int i,
String threadName)
throws Exception
Exceptionpublic ProducerThread setMessageCount(int messageCount)
public int getSleep()
public ProducerThread setSleep(int sleep)
public int getMessageCount()
public int getSentCount()
public boolean isPersistent()
public ProducerThread setPersistent(boolean persistent)
public boolean isRunning()
public ProducerThread setRunning(boolean running)
public long getMsgTTL()
public ProducerThread setMsgTTL(long msgTTL)
public int getTransactionBatchSize()
public ProducerThread setTransactionBatchSize(int transactionBatchSize)
public String getMsgGroupID()
public ProducerThread setMsgGroupID(String msgGroupID)
public int getTextMessageSize()
public ProducerThread setTextMessageSize(int textMessageSize)
public int getMessageSize()
public ProducerThread setMessageSize(int messageSize)
public ReusableLatch getFinished()
public ProducerThread setFinished(int value)
public String getPayloadUrl()
public ProducerThread setPayloadUrl(String payloadUrl)
public String getMessage()
public ProducerThread setMessage(String message)
public boolean isRunIndefinitely()
public ProducerThread setRunIndefinitely(boolean runIndefinitely)
public ProducerThread pauseProducer()
public ProducerThread resumeProducer()
public ProducerThread resetCounters()
public boolean isVerbose()
public ProducerThread setVerbose(boolean verbose)
Copyright © 2024 The Apache Software Foundation. All rights reserved.