Interface Triggerable

  • All Known Implementing Classes:
    TimerPool

    public interface Triggerable
    Triggerable is the interface to be used when HeadTaskRunnable has no next element. The function in Triggerable is responsible to remove the element from the sorted container in TimerPool.
    • Method Detail

      • trigger

        void trigger​(Date time)
        The function to be run when the HeadTaskRunnable doesn't have next element.
        Parameters:
        time - The time the HeadTaskRunnable scheduled