Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.test.processor.performance.core
Class MessageProducer
java.lang.Thread
  |
  +--com.newstep.solid.test.processor.performance.core.MessageProducer
All Implemented Interfaces:
       Runnable

public class MessageProducer      
Thread that sends messages from a message queue to the three pass message processor
 
Links:
Kernel Association Association Link
to Class ThreePassProcessor
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
 
 

Field Summary
private Logger
private Queue
Constructor Summary
public void
MessageProducer(ThreePassProcessor messageProcessor, Queue messageQueue)
Method Summary
public synchronized void
run()
Field Detail
logger
private Logger logger
Multiplicity:
1
 

messageProcessor
private ThreePassProcessor messageProcessor
Multiplicity:
1
 

messageQueue
private Queue messageQueue
Multiplicity:
1
 
Constructor Detail
MessageProducer
public void MessageProducer (ThreePassProcessor messageProcessor, Queue messageQueue)
 
Default constructor
Parameters:
messageProcessor ThreePassProcessor that is the destination for all messages
messageQueue Queue that is the source of all messages to be sent
Stereotype:
create
 
Method Detail
run
public synchronized void run ()
 
See Also:
 
Synchronized.
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD