|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbg.resource.execution.LiveTaskExecutionHandler
public class LiveTaskExecutionHandler
A wrapper over GridApplications to allow better control and automatic
TaskOutput generation when an app ends.
Related logger: lbg.resource
Constructor Summary | |
---|---|
LiveTaskExecutionHandler(LiveResource res,
InternalPeerHandle iph,
Task t,
int mem_size)
Readies a handler to be started as a different Thread. |
Method Summary | |
---|---|
void |
abort()
Stops the managed task. |
void |
run()
Start handling the task. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LiveTaskExecutionHandler(LiveResource res, InternalPeerHandle iph, Task t, int mem_size) throws GridException
res
- owner Resourcet
- Task to runiph
- handle to the owner Peermem_size
- memory to allocate to the Task execution
(expressed as a number of megabytes)
GridException
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void run()
run
in interface java.lang.Runnable
public void abort()
|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.