A final type of event supported by the Reaction framework are timed events. In many applications it is necessary to schedule timeouts on long running transactions, and this is one application of timed events. An alternate use is to generate periodic events for triggering tasks which must be carried out at regular intervals. Objects which can receive timed events are referred to as timeable objects and implement the Timeable interface. A basic version of the Timeable interface is shown in Listing 1.6.
Timed events are probably the simplest form of event in the Reaction framework repertoire, which is why they are the first to be discussed in detail in Chapter 3.