|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| SimpleTimerService.java | - | - | - | - |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Created on 2005-2-2
|
|
| 3 |
*
|
|
| 4 |
* TODO To change the template for this generated file go to
|
|
| 5 |
* Window - Preferences - Java - Code Style - Code Templates
|
|
| 6 |
*/
|
|
| 7 |
package org.huihoo.jfox.soaf.services.timer;
|
|
| 8 |
|
|
| 9 |
/**
|
|
| 10 |
* @author peter.cheng TODO To change the template for this generated type
|
|
| 11 |
* comment go to Window - Preferences - Java - Code Style - Code
|
|
| 12 |
* Templates
|
|
| 13 |
*/
|
|
| 14 |
public interface SimpleTimerService { |
|
| 15 |
|
|
| 16 |
public void setPersistStrategy(TaskPersistStrategy strategy); |
|
| 17 |
|
|
| 18 |
public long getSchedulerStartTime(); |
|
| 19 |
|
|
| 20 |
public void schedule(Task task) throws IllegalStateException, Exception; |
|
| 21 |
|
|
| 22 |
public void cancelAll(boolean withRestart); |
|
| 23 |
|
|
| 24 |
public Task[] getRunningTasks();
|
|
| 25 |
|
|
| 26 |
public Task findTaskByID(long taskID); |
|
| 27 |
|
|
| 28 |
public void shutdown(); |
|
| 29 |
|
|
| 30 |
} |
|
||||||||||