public abstract class SchedulerTask extends Task
EmbeddingProvider
,
ParserBasedEmbeddingProvider
and ParserResultTask
).
Do not extend this class directly!Modifier and Type | Method and Description |
---|---|
abstract void |
cancel()
Called by infrastructure when the task was interrupted by the
infrastructure.
|
abstract int |
getPriority()
A priority.
|
abstract Class<? extends Scheduler> |
getSchedulerClass()
Returns
Scheduler class for this SchedulerTask. |
public abstract int getPriority()
public abstract Class<? extends Scheduler> getSchedulerClass()
Scheduler
class for this SchedulerTask. See
Scheduler
documentation for a list of default schedulers,
or your your own implementation.Scheduler
for this SchedulerTask.public abstract void cancel()