Interface ImmutableTimerMetaDataEntry<C>

    • Method Detail

      • getType

        TimerType getType()
        Returns the type of this timer
        Returns:
        the timer type
      • getContext

        C getContext()
        Returns the context with which this timer was created.
        Returns:
        the timer context
      • getTimeoutMatcher

        default Predicate<Method> getTimeoutMatcher()
        Returns the timeout matcher, used to locate the timeout method within the associated component.
        Returns:
        an timeout matcher
      • getLastTimeout

        Duration getLastTimeout()
        Supplies the time of the most recent timeout event of this timer, or null if there are no previous timeout events
        Returns:
        a reference to the time of the last timeout event, if one exists