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

com.newstep.solid.test.processor.performance.handlers
Class TestEvent
com.newstep.solid.processor.Event
  |
  +--com.newstep.solid.test.processor.performance.handlers.TestEvent

public class TestEvent      
Class for all events of type com.newstep.solid.test.performance.handlers.TestEvent
 
Links:
Kernel Association Association Link
to Class Message
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
 
Generalization Generalization Link
to Class Event
Class for all events of type com.newstep.solid.test.performance.handlers.TestEvent
 
 

Field Summary
MESSAGE_DECODED_STATE
int
SENDING_ORDER_ARRIVAL
long
long
long
EVENT_TYPE
SEQUENCE_ORDER_ARRIVAL
EVENT_PROCESSED_STATE
long
long
private MESSAGE_DECODED_STATE
private EVENT_TYPE
private long
private long
private Message
private EVENT_PROCESSED_STATE
private int
private long
private long
private SENDING_ORDER_ARRIVAL
private long
private SEQUENCE_ORDER_ARRIVAL
Constructor Summary
public void
public void
TestEvent(EVENT_TYPE eventType)
Method Summary
public MESSAGE_DECODED_STATE
public EVENT_TYPE
public long
public long
public Message
public EVENT_PROCESSED_STATE
public int
public long
public long
public SENDING_ORDER_ARRIVAL
public long
public SEQUENCE_ORDER_ARRIVAL
public void
setDecodedState(MESSAGE_DECODED_STATE decodedState)
public void
setEventType(EVENT_TYPE eventType)
public void
setFinishedDecoder(Long finishedDecoder)
public void
public void
public void
setProcessedState(EVENT_PROCESSED_STATE processedState)
public void
setProducerID(Integer producerID)
public void
public void
public void
setSendingOrder(SENDING_ORDER_ARRIVAL sendingOrder)
public void
public void
setSequenceOrder(SEQUENCE_ORDER_ARRIVAL sequenceOrder)
Field Detail
decodedState
private MESSAGE_DECODED_STATE decodedState
Multiplicity:
1
 

decodedState
MESSAGE_DECODED_STATE decodedState
 

eventType
EVENT_TYPE eventType
 

eventType
private EVENT_TYPE eventType
Multiplicity:
1
 

finishedDecoder
long finishedDecoder
 

finishedDecoder
private long finishedDecoder
Multiplicity:
1
 

finishedHandler
long finishedHandler
 

finishedHandler
private long finishedHandler
Multiplicity:
1
 

message
private Message message
Multiplicity:
1
 

message
Message message
 

processedState
private EVENT_PROCESSED_STATE processedState
Multiplicity:
1
 

processedState
EVENT_PROCESSED_STATE processedState
 

producerID
private int producerID
Multiplicity:
1
 

producerID
int producerID
 

rcvdAtDecoder
private long rcvdAtDecoder
Multiplicity:
1
 

rcvdAtDecoder
long rcvdAtDecoder
 

rcvdAtHandler
private long rcvdAtHandler
Multiplicity:
1
 

rcvdAtHandler
long rcvdAtHandler
 

sendingOrder
private SENDING_ORDER_ARRIVAL sendingOrder
Multiplicity:
1
 

sendingOrder
SENDING_ORDER_ARRIVAL sendingOrder
 

sentFromProducer
private long sentFromProducer
Multiplicity:
1
 

sentFromProducer
long sentFromProducer
 

sequenceOrder
SEQUENCE_ORDER_ARRIVAL sequenceOrder
 

sequenceOrder
private SEQUENCE_ORDER_ARRIVAL sequenceOrder
Multiplicity:
1
 
Constructor Detail
TestEvent
public void TestEvent (TestMessage message)
 
Constructor that generates an event based on a message
Parameters:
message TestMessage used to generate the TestEvent
Stereotype:
create
 

TestEvent
public void TestEvent (EVENT_TYPE eventType)
 
Default constructor
Parameters:
eventType Constants.EVENT_TYPE representing which event type is created
Stereotype:
create
 
Method Detail
getDecodedState
public MESSAGE_DECODED_STATE getDecodedState ()
 
Returns the message decoded state
Return:
Constants.MESSAGE_DECODED_STATE
 

getEventType
public EVENT_TYPE getEventType ()
 
Returns the event type
Return:
Constants.EVENT_TYPE
 

getFinishedDecoder
public long getFinishedDecoder ()
 
Returns the finished decoding time
Return:
long
 

getFinishedHandler
public long getFinishedHandler ()
 
Returns the finished handler timestamp
Return:
long
 

getMessage
public Message getMessage ()
 
Returns the containing event
Return:
Message
 

getProcessedState
public EVENT_PROCESSED_STATE getProcessedState ()
 
Returns the event processed state
Return:
Constants.EVENT_PROCESSED_STATE
 

getProducerID
public int getProducerID ()
 
Returns the message producer ID
Return:
int
 

getRcvdAtDecoder
public long getRcvdAtDecoder ()
 
Returns the decoder arrival timestamp
Return:
long
 

getRcvdAtHandler
public long getRcvdAtHandler ()
 
Returns the handler arrival timestamp
Return:
long
 

getSendingOrder
public SENDING_ORDER_ARRIVAL getSendingOrder ()
 
Returns the sending arrival order
Return:
Constants.SENDING_ORDER_ARRIVAL
 

getSentFromProducer
public long getSentFromProducer ()
 
Returns the message transmission timestamp
Return:
long
 

getSequenceOrder
public SEQUENCE_ORDER_ARRIVAL getSequenceOrder ()
 
Returns the sequence arrival order
Return:
Constants.SEQUENCE_ORDER_ARRIVAL
 

setDecodedState
public void setDecodedState (MESSAGE_DECODED_STATE decodedState)
 
Sets the message decoded state
Parameters:
decodedState Constants.MESSAGE_DECODED_STATE representing the message decoding
state
 

setEventType
public void setEventType (EVENT_TYPE eventType)
 
Sets the event type
Parameters:
eventType Constants.EVENT_TYPE representing which event type this is
 

setFinishedDecoder
public void setFinishedDecoder (Long finishedDecoder)
 
Sets the finished decoder time
Parameters:
finishedDecoder Long representing the time at which the decoding was completed
 

setFinishedHandler
public void setFinishedHandler (Long time)
 
Sets the finished handler timestamp
Parameters:
time long time representing at what time the event handler completed event
processing
 

setMessage
public void setMessage (Message message)
 
Sets the containing event
Parameters:
message Message from which this event was created
 

setProcessedState
public void setProcessedState (EVENT_PROCESSED_STATE processedState)
 
Sets the event processed state
Parameters:
processedState Constants.EVENT_PROCESSED_STATE representing the event processing
state
 

setProducerID
public void setProducerID (Integer producerID)
 
Sets the producer ID
Parameters:
producerID The producer through which this event/message combination was
send
 

setRcvdAtDecoderTime
public void setRcvdAtDecoderTime (Long time)
 
Sets the decoder arrival timestamp
Parameters:
time Long representing the time at which the message arrived at the
message decoder
 

setRcvdAtHandlerTime
public void setRcvdAtHandlerTime (Long time)
 
Sets the handler arrival timestamp
Parameters:
time Long representing the time at which the event arrived at the
event handler
 

setSendingOrder
public void setSendingOrder (SENDING_ORDER_ARRIVAL sendingOrder)
 
Sets the sending arrival order
Parameters:
sendingOrder Constants.SENDING_ORDER_ARRIVAL representing if the event arrived
in the order it was sent from the message producer
 

setSentFromProducerTime
public void setSentFromProducerTime (Long time)
 
Sets the message transmission timestamp
Parameters:
time Long representing the time at which the message was sent from
the message producer
 

setSequenceOrder
public void setSequenceOrder (SEQUENCE_ORDER_ARRIVAL sequenceOrder)
 
Sets the sequence arrival order
Parameters:
sequenceOrder Constants.SEQUENCE_ORDER_ARRIVAL representing whether the event's
sequence ID is correctly 1 more than the previous event that arrived
 

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