|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TimerService
An interface for all timer service implementations used in a drools session.
| Method Summary | |
|---|---|
long |
getCurrentTime()
Returns the current time from the scheduler clock |
Collection<TimerJobInstance> |
getTimerJobInstances(int id)
This method may return null for some TimerService implementations that do not want the overhead of maintain this. |
long |
getTimeToNextJob()
Returns the number of time units (usually ms) to the next scheduled job |
void |
shutdown()
Shuts the service down |
| Methods inherited from interface org.drools.core.time.SchedulerService |
|---|
removeJob, scheduleJob |
| Method Detail |
|---|
long getCurrentTime()
void shutdown()
long getTimeToNextJob()
Collection<TimerJobInstance> getTimerJobInstances(int id)
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||