Design a Poller such that a FilePoller or DatabasePoller etc can use it to poll after certain delays
1020

Design a Poller.

Information given

class FilePoller  {

    private int delay;
		
		//should use poller to schedule polling files after each delay
		
	}
class DataPoller  {

    private int delay;

	//should use Poller to schedule polling after each delay
	
	}
	
Would like to see how other developers approach a problem like this which is intentionally vague. 
Comments (2)