|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
com.flickrrecsys.util.ClearPerformedTasks
public class ClearPerformedTasks
This class is used to clear out the performed task after a period of time it extends TimeTask where the task is scheduled
| Constructor Summary | |
|---|---|
ClearPerformedTasks(java.lang.String nsid,
java.lang.String servletPath,
java.util.Timer timer)
The constructor set the variable passed to global variable |
|
| Method Summary | |
|---|---|
void |
run()
|
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClearPerformedTasks(java.lang.String nsid,
java.lang.String servletPath,
java.util.Timer timer)
nsid - user id from the flickr accountservletPath - where the properties file is locatedtimer - time to wait in millisecond| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.util.TimerTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||