Class TimerFiredEventAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Provides details of the TimerFired
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of theTimerStarted
event that was recorded when this timer was started.The unique ID of the timer that fired.int
hashCode()
void
setStartedEventId
(Long startedEventId) The ID of theTimerStarted
event that was recorded when this timer was started.void
setTimerId
(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 theTimerStarted
event 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
TimerStarted
event 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 theTimerStarted
event 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
TimerStarted
event 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
TimerStarted
event 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
TimerStarted
event 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 theTimerStarted
event 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-