Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Creative commons Attribution-NonCommercial license. NO WARRANTY IS GIVEN OR IMPLIED, USE AT YOUR OWN RISK.
 package base.task;

Contains a unit of work that may be scheduled using the TaskManager. A task can be scheduled as a once off unit of work, or a regularly repeating unit of work. In the case of a regularly repeating unit of work, the Task object will remain in memory until TaskManager.shutdown() is called.

See also:
public abstract class Task {

Unit of work to be completed

java.lang.InterruptedException Thrown when a unit of work is interrupted.
	public abstract void run() throws InterruptedException;
New to GrepCode? Check out our FAQ X