| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.test.processor.performance.handlers
|
+--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
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
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 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 |
|
| Method Summary |
public MESSAGE_DECODED_STATE |
|
public EVENT_TYPE |
|
public long |
|
public long |
|
|
|
public EVENT_PROCESSED_STATE |
|
public int |
|
public long |
|
public long |
|
public SENDING_ORDER_ARRIVAL |
|
public long |
|
public SEQUENCE_ORDER_ARRIVAL |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
private MESSAGE_DECODED_STATE decodedState
Multiplicity:
1
MESSAGE_DECODED_STATE decodedState
EVENT_TYPE eventType
private EVENT_TYPE eventType
Multiplicity:
1
long finishedDecoder
private long finishedDecoder
Multiplicity:
1
long finishedHandler
private long finishedHandler
Multiplicity:
1
Multiplicity:
1
private EVENT_PROCESSED_STATE processedState
Multiplicity:
1
EVENT_PROCESSED_STATE processedState
private int producerID
Multiplicity:
1
int producerID
private long rcvdAtDecoder
Multiplicity:
1
long rcvdAtDecoder
private long rcvdAtHandler
Multiplicity:
1
long rcvdAtHandler
private SENDING_ORDER_ARRIVAL sendingOrder
Multiplicity:
1
SENDING_ORDER_ARRIVAL sendingOrder
private long sentFromProducer
Multiplicity:
1
long sentFromProducer
SEQUENCE_ORDER_ARRIVAL sequenceOrder
private SEQUENCE_ORDER_ARRIVAL sequenceOrder
Multiplicity:
1
Constructor that generates an event based on a message
Parameters:
message TestMessage used to generate the TestEvent
Stereotype:
create
public void TestEvent (EVENT_TYPE eventType)
Default constructor
Parameters:
eventType Constants.EVENT_TYPE representing which event type is created
Stereotype:
create
public MESSAGE_DECODED_STATE getDecodedState ()
Returns the message decoded state
Return:
Constants.MESSAGE_DECODED_STATE
public EVENT_TYPE getEventType ()
Returns the event type
Return:
Constants.EVENT_TYPE
public long getFinishedDecoder ()
Returns the finished decoding time
Return:
long
public long getFinishedHandler ()
Returns the finished handler timestamp
Return:
long
Returns the containing event
Return:
Message
public EVENT_PROCESSED_STATE getProcessedState ()
Returns the event processed state
Return:
Constants.EVENT_PROCESSED_STATE
public int getProducerID ()
Returns the message producer ID
Return:
int
public long getRcvdAtDecoder ()
Returns the decoder arrival timestamp
Return:
long
public long getRcvdAtHandler ()
Returns the handler arrival timestamp
Return:
long
public SENDING_ORDER_ARRIVAL getSendingOrder ()
Returns the sending arrival order
Return:
Constants.SENDING_ORDER_ARRIVAL
public long getSentFromProducer ()
Returns the message transmission timestamp
Return:
long
public SEQUENCE_ORDER_ARRIVAL getSequenceOrder ()
Returns the sequence arrival order
Return:
Constants.SEQUENCE_ORDER_ARRIVAL
public void setDecodedState (MESSAGE_DECODED_STATE decodedState)
Sets the message decoded state
Parameters:
decodedState Constants.MESSAGE_DECODED_STATE representing the message decoding
state
public void setEventType (EVENT_TYPE eventType)
Sets the event type
Parameters:
eventType Constants.EVENT_TYPE representing which event type this is
public void setFinishedDecoder (Long finishedDecoder)
Sets the finished decoder time
Parameters:
finishedDecoder Long representing the time at which the decoding was completed
public void setFinishedHandler (Long time)
Sets the finished handler timestamp
Parameters:
time long time representing at what time the event handler completed event
processing
public void setMessage (Message message)
Sets the containing event
Parameters:
message Message from which this event was created
public void setProcessedState (EVENT_PROCESSED_STATE processedState)
Sets the event processed state
Parameters:
processedState Constants.EVENT_PROCESSED_STATE representing the event processing
state
public void setProducerID (Integer producerID)
Sets the producer ID
Parameters:
producerID The producer through which this event/message combination was
send
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
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
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
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
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
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|