Interface
caplin.core.scheduler

ThreadQueueListener

Interface implemented by classes wishing to know the current number of pending and due threads awaiting processing.

Constructor Summary

Attributes Name and Description
caplin.core.scheduler.ThreadQueueListener()

Method Summary

Attributes Name and Description
void onThreadQueueUpdate(int nDueTimers, int nTotalTimers)

Call-back that fires each time a thread timer is processed, and the thread queue information changes.

Constructor Detail

caplin.core.scheduler.ThreadQueueListener()

Method Detail

void onThreadQueueUpdate(int nDueTimers, int nTotalTimers)

Call-back that fires each time a thread timer is processed, and the thread queue information changes.

Parameters
int nDueTimers The number of registered timers (including intervals) that are now ready to be processed.
int nTotalTimers The total number of registered timers and intervals — both overdue, and not yet requiring processing.