public class TaskLauncher extends Object implements org.objectweb.proactive.InitActive
Constructor and Description |
---|
TaskLauncher()
Needed for ProActive but should never be used manually to create an instance of the object.
|
TaskLauncher(TaskLauncherInitializer initializer) |
TaskLauncher(TaskLauncherInitializer initializer,
TaskLauncherFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
activateLogs(AppenderProvider logSink) |
void |
doTask(ExecutableContainer executableContainer,
TaskResult[] previousTasksResults,
TaskTerminateNotification terminateNotification,
String terminateNotificationNodeURL,
boolean taskRecoverable) |
PublicKey |
generatePublicKey() |
KeyPair |
getKeyPair() |
int |
getProgress() |
void |
getStoredLogs(AppenderProvider logSink) |
void |
initActivity(org.objectweb.proactive.Body body) |
boolean |
isActivated()
Method used to wait until the TaskLauncher is activated (i.e.
|
boolean |
isTaskStarted() |
void |
kill() |
public TaskLauncher()
public TaskLauncher(TaskLauncherInitializer initializer, TaskLauncherFactory factory)
public TaskLauncher(TaskLauncherInitializer initializer)
public void initActivity(org.objectweb.proactive.Body body)
initActivity
in interface org.objectweb.proactive.InitActive
public boolean isActivated()
public boolean isTaskStarted()
public void doTask(ExecutableContainer executableContainer, TaskResult[] previousTasksResults, TaskTerminateNotification terminateNotification, String terminateNotificationNodeURL, boolean taskRecoverable)
public void activateLogs(AppenderProvider logSink)
public void getStoredLogs(AppenderProvider logSink)
public KeyPair getKeyPair() throws NoSuchAlgorithmException
NoSuchAlgorithmException
public PublicKey generatePublicKey() throws NoSuchAlgorithmException
NoSuchAlgorithmException
public void kill()
public int getProgress()