org.apache.xindice.server
Interface Task
- All Known Implementing Classes:
- StdResourceManager, StdLogManager
- public interface Task
Task is an interface used to implement light-weight tasks for the
Xindice interval-based scheduler. Tasks are run synchronously
within the scheduler, so runTask should exit as soon as possible in
order to return control to the scheduler. Heavy-weight tasks should be
implemented as Runnable and be spawned as a new Thread from the
light-weight task.
- See Also:
Kernel.addTask(org.apache.xindice.server.Task, long)
,
Kernel.removeTask(org.apache.xindice.server.Task)
Method Summary |
void |
runTask()
runTask is the entry point for a Xindice interval-based Task. |
runTask
public void runTask()
- runTask is the entry point for a Xindice interval-based Task.
This method should return quickly, either by processing only parts of a
larger task or by spawning a worker thread.
Copyright (c) 1999-2001 The Apache Software Foundation