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

com.newstep.solid.test.processor.performance.decoders
Class TestDecoderFactory

public class TestDecoderFactory      
Factory class that creates message decoders for TestMessage type messages
 
Links:
Kernel Association Association Link
to Class TestDecoderFactory
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 static int
private static TestDecoderFactory
Method Summary
public static MessageDecoder
createDecoder(MESSAGE_TYPE messageType)
public static TestDecoderFactory
public static void
setDecodingDelay(Integer decodingDelay)
Field Detail
decodingDelay
private static int decodingDelay
Multiplicity:
1
Static.
 

instance
private static TestDecoderFactory instance
Multiplicity:
1
Static.
 
Method Detail
createDecoder
public static MessageDecoder createDecoder (MESSAGE_TYPE messageType)
 
Creates a decoder for the requested message type
Parameters:
messageType Constants.MESSAGE_TYPE representing the message type for which the decoder
must be created
Return:
MessageDecoder
Static.
 

getInstance
public static TestDecoderFactory getInstance ()
 
Returns a singleton instance of a test decoder factory
Return:
TestDecoderFactory
Static.
 

setDecodingDelay
public static void setDecodingDelay (Integer decodingDelay)
 
Sets the decoding delay
Parameters:
decodingDelay Additional time for which the decoder sleeps to simulate a high CPU cycle
decoding task
Static.
 

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