com.neeve.aep.event
Class AepOutOfOrderSendCommitCompletionAlertEvent
java.lang.Object
com.neeve.util.UtlListElement
com.neeve.event.Event
com.neeve.event.alert.AlertEvent
com.neeve.aep.event.AepOutOfOrderSendCommitCompletionAlertEvent
- All Implemented Interfaces:
- IAlertEvent, IEvent, UtlPool.Item<Event>, UtlReferenceTracker.HasReferenceTracker
public final class AepOutOfOrderSendCommitCompletionAlertEvent
- extends AlertEvent
Event alerting an AEP application of an out-of-order send commit completion.
- Threading:
- This class is safe for concurrent access by multiple threads.
This event is dispatched to an application of an alert triggered by an
out-of-order send commit completion.
Methods inherited from class com.neeve.event.Event |
acquire, dispose, getAcknowledger, getAttachment, getDelay, getDispatchTime, getInstanceNumber, getOfferTs, getPollTs, getPool, getRemainingTime, getScheduledTime, getSource, getType, init, isEndOfBatch, isHandled, owners, referenceTracker, setAcknowledger, setAttachment, setDelay, setDispatchTime, setEndOfBatch, setHandled, setPool, setScheduledTime, setSource |
Methods inherited from interface com.neeve.event.IEvent |
acquire, dispose, getAcknowledger, getAttachment, getDelay, getDispatchTime, getInstanceNumber, getRemainingTime, getScheduledTime, getSource, getType, isEndOfBatch, isHandled, owners, setAcknowledger, setAttachment, setDelay, setEndOfBatch, setHandled, setSource |
create
public static Event create(Properties props)
- Create a new (uninitialized) out-of-order send commit completion alert event.
This method instantiates a new out-of-order send commit completion alert event
object. The method is for use by the event factory to instantiate new out-of-order
send commit completion alert events. The method should not be used directly by
the user since the method bypasses any event pooling i.e. it creates a new
out-of-order send commit completion alert event object even if there are
eligible event objects available in the event type's pool.
create
public static AepOutOfOrderSendCommitCompletionAlertEvent create(long completedCommitTxnId,
long firstReleasedCommitTxnId,
long lastReleasedCommitTxnId,
long firstIncompleteCommitTxnId)
- Create a new (initialized) out-of-order send commit completion alert event.
- Parameters:
completedCommitTxnId
- The id of the transaction containing the commit
that completed.firstReleasedCommitTxnId
- The id of the transaction of the send commit
released first from the send commit pipeline by the processing of the completed
commit.lastReleasedCommitTxnId
- The id of the transaction of the send commit
released last from the send commit pipeline by the processing of the completed
commit.firstIncompleteCommitTxnId
- The id of the transaction of the first incomplete
send commit in the send commit pipeline at the end of the processing of the
completed send commit.
This method instantiates and initializes a out-of-order send commit completion
alert event. The method uses the event factory to instantiate a new out-of-order
send commit completion alert event (the factory recycles objects through the
event type's object pool is configured for the type) and then initializes it
with the supplied parameters.
getCompletedCommitTxnId
public final long getCompletedCommitTxnId()
- Returns:
- The id of the transaction containing the commit that completed.
- Threading:
- This method is safe for concurrent access by multiple threads.
getFirstReleasedCommitTxnId
public final long getFirstReleasedCommitTxnId()
- Returns:
- The id of the transaction of the send commit released first from
the send commit pipeline by the processing of the completed commit. A
value of -1 indicates that no commit was released from the pipeline
- Threading:
- This method is safe for concurrent access by multiple threads.
getLastReleasedCommitTxnId
public final long getLastReleasedCommitTxnId()
- Returns:
- The id of the transaction of the send commit released last from
the send commit pipeline by the processing of the completed commit. A
value of -1 indicates that no commit was released from the pipeline
- Threading:
- This method is safe for concurrent access by multiple threads.
getFirstIncompleteCommitTxnId
public final long getFirstIncompleteCommitTxnId()
- Returns:
- The id of the transaction of the first incomplete send commit in the
send commit pipeline after the completion of the processing of the completed
commit.
- Threading:
- This method is safe for concurrent access by multiple threads.
toString
public String toString()
- Get a string representation of the object
- Overrides:
toString
in class AlertEvent
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.