This document describes the Timer service.
Overview
Many operations are executed at a defined timeout, e.g. sessions are invalidated when users are inactive for a long time, information blocks are persistently stored after they have been kept in memory for some time, and so on. To handle such cases, a bundle should manage its own thread that should take care to inform of time period expiration, or to realize a scenario based on the wait/notify model.
The Timer service saves bundles repeated implementation of the timer model. The service provides an asynchronous mechanism for time notification to each of its subscribers using the pooling mechanisms of the Thread Pool Manager.
For more information and examples refer to the Timers Developer Guide and the Java APIs.
Registering Bundle
This service is provided by Core Threads Bundle.