Class TimeoutProcessor

java.lang.Object
com.linkedin.alpini.base.concurrency.TimeoutProcessor
All Implemented Interfaces:
Executor

public class TimeoutProcessor extends Object implements Executor
More efficient handling of cancellable schedulable events. The default ScheduledExecutorService is designed to handle schedulable tasks where cancellation is rare. However, for the purposes of handling timeouts, we would prefer cancellation to be the common case and the tasks should be rarely run.
See Also: