Class AbstractTransactionEvent
- java.lang.Object
-
- software.amazon.disco.agent.event.AbstractEvent
-
- software.amazon.disco.agent.event.AbstractTransactionEvent
-
- All Implemented Interfaces:
Event,TransactionEvent
- Direct Known Subclasses:
TransactionBeginEvent,TransactionEndEvent
public abstract class AbstractTransactionEvent extends AbstractEvent implements TransactionEvent
A class of event to encapsulate the begin or end of a logical Transaction. For a request-response service, this envelopes the lifetime of the service activities. For other types of service-under-test this might be a receipt of a unit of work by some other non-SAAS means e.g. draining a queue of work items
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.disco.agent.event.TransactionEvent
TransactionEvent.Operation
-
-
Field Summary
-
Fields inherited from class software.amazon.disco.agent.event.AbstractEvent
data, origin
-
-
Constructor Summary
Constructors Constructor Description AbstractTransactionEvent(java.lang.String origin)Create a new TransactionEvent
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TransactionEvent.OperationgetOperation()Get the type of TransactionEvent, BEGIN or END-
Methods inherited from class software.amazon.disco.agent.event.AbstractEvent
getData, getOrigin, withData
-
-
-
-
Method Detail
-
getOperation
public abstract TransactionEvent.Operation getOperation()
Get the type of TransactionEvent, BEGIN or END- Specified by:
getOperationin interfaceTransactionEvent- Returns:
- the type of this TransactionEvent
-
-