Class TimerFiredEventAttributes
- All Implemented Interfaces:
Serializable, Cloneable
Provides details of the TimerFired event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID of theTimerStartedevent that was recorded when this timer was started.The unique ID of the timer that fired.inthashCode()voidsetStartedEventId(Long startedEventId) The ID of theTimerStartedevent that was recorded when this timer was started.voidsetTimerId(String timerId) The unique ID of the timer that fired.toString()Returns a string representation of this object; useful for testing and debugging.withStartedEventId(Long startedEventId) The ID of theTimerStartedevent that was recorded when this timer was started.withTimerId(String timerId) The unique ID of the timer that fired.
-
Constructor Details
-
TimerFiredEventAttributes
public TimerFiredEventAttributes()
-
-
Method Details
-
setTimerId
The unique ID of the timer that fired.
- Parameters:
timerId- The unique ID of the timer that fired.
-
getTimerId
The unique ID of the timer that fired.
- Returns:
- The unique ID of the timer that fired.
-
withTimerId
The unique ID of the timer that fired.
- Parameters:
timerId- The unique ID of the timer that fired.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartedEventId
The ID of the
TimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theTimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getStartedEventId
The ID of the
TimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
TimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withStartedEventId
The ID of the
TimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theTimerStartedevent that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-