I have a class as follows :-
Cell{
List<Call> Active;
List<Call> Queued;
Timer t;
.
.
public void CheckQueue()
{
// Check Queued List for calls and add to Active List
}
}
I want to execute this method : CheckQueue once every second ... but i want to ensure if its previously invoked then that thread has been stopped. If this is not ensured then i might get REDUNDANT data in Active List.
I need help with this