public abstract class AbstractJmsClientSystem extends AbstractObjectProperties
| Modifier and Type | Field and Description |
|---|---|
protected ThreadGroup |
clientThreadGroup |
protected JmsFactoryProperties |
factory |
protected javax.jms.ConnectionFactory |
jmsConnFactory |
protected ThroughputSamplerTask |
tpSampler |
| Constructor and Description |
|---|
AbstractJmsClientSystem() |
| Modifier and Type | Method and Description |
|---|---|
protected PerformanceReportWriter |
createPerfWriter() |
protected void |
distributeDestinations(String distroType,
int clientIndex,
int numClients,
int numDests) |
protected abstract ClientRunBasis |
getClientRunBasis() |
protected abstract long |
getClientRunDuration() |
JmsFactoryProperties |
getFactory() |
abstract JmsClientProperties |
getJmsClientProperties() |
abstract JmsClientSystemProperties |
getSysTest() |
ThroughputSamplerTask |
getTpSampler() |
protected javax.jms.ConnectionFactory |
loadJmsFactory(String spiClass,
Properties factorySettings) |
protected static Properties |
parseStringArgs(String[] args) |
protected abstract void |
runJmsClient(String clientName,
int clientDestIndex,
int clientDestCount) |
void |
runSystemTest() |
void |
setFactory(JmsFactoryProperties factory) |
protected void |
setProviderMetaData(javax.jms.ConnectionMetaData metaData,
JmsClientProperties props) |
abstract void |
setSysTest(JmsClientSystemProperties sysTestProps) |
acceptConfig, configureProperties, retrievePropertiesprotected ThreadGroup clientThreadGroup
protected javax.jms.ConnectionFactory jmsConnFactory
protected JmsFactoryProperties factory
protected ThroughputSamplerTask tpSampler
public AbstractJmsClientSystem()
public void runSystemTest() throws javax.jms.JMSException
javax.jms.JMSExceptionprotected abstract ClientRunBasis getClientRunBasis()
protected abstract long getClientRunDuration()
public ThroughputSamplerTask getTpSampler()
public JmsFactoryProperties getFactory()
public void setFactory(JmsFactoryProperties factory)
public abstract JmsClientSystemProperties getSysTest()
public abstract void setSysTest(JmsClientSystemProperties sysTestProps)
public abstract JmsClientProperties getJmsClientProperties()
protected PerformanceReportWriter createPerfWriter()
protected void distributeDestinations(String distroType, int clientIndex, int numClients, int numDests)
protected javax.jms.ConnectionFactory loadJmsFactory(String spiClass, Properties factorySettings) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected void setProviderMetaData(javax.jms.ConnectionMetaData metaData, JmsClientProperties props) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected abstract void runJmsClient(String clientName, int clientDestIndex, int clientDestCount)
protected static Properties parseStringArgs(String[] args)
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.