public class LoadManagingExecutionService.Task extends Object implements Runnable, Comparable
Constructor and Description |
---|
LoadManagingExecutionService.Task(IExecutable task,
double priority)
Create a new task info for a given task.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj)
Return a negative integer, zero, or a positive integer as this object
is less than, equal to, or greater than the specified object.
|
void |
run()
Perform the task once and notify the manager.
|
String |
toString()
Create a string representation of the task info.
|
public LoadManagingExecutionService.Task(IExecutable task, double priority)
public void run()
public int compareTo(Object obj)
compareTo
in interface Comparable
Copyright © 2012. All Rights Reserved.