|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.testbed.CoredumpAction
public class CoredumpAction
CoredumpAction Utility class to take a pid. Derive from that a Proc that is modelled in the core, stop all the tasks, get the main tasks's maps, and each threads register/status. Finally, Construct an elf core-file.
Constructor Summary | |
---|---|
CoredumpAction(Proc proc,
Event theEvent,
boolean writeAllMaps)
CoredumpAction - Generate a core file |
Method Summary | |
---|---|
void |
addedTo(Object observable)
Acknowledge the request to add this Observer from Object's set of observers was successful. |
void |
addFailed(Object observable,
Throwable w)
Notify that the attempt to add to the specified observer failed. |
void |
allExistingTasksCompleted()
Called when all the tasks have been handled. |
void |
deletedFrom(Object observable)
Acknowledge the request to delete this Observer from Object's set of observers was successful (or that the Observer was spontaneously deleted, e.g., due to a task exit). |
void |
existingTask(Task task)
Called to deliver a list of existing tasks to the client. |
String |
getConstructedFileName()
getConstructedFileName() return the constructed filename of the corefile. |
void |
taskAddFailed(Object task,
Throwable w)
Called when attempting to bind to a specific task fails. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoredumpAction(Proc proc, Event theEvent, boolean writeAllMaps)
proc
- - Process extract and dump coretheEvent
- - EventwriteAllMaps
- - Should all maps be written.Method Detail |
---|
public void existingTask(Task task)
ProcBlockObserver
existingTask
in interface ProcBlockObserver
public void addFailed(Object observable, Throwable w)
Observer
addFailed
in interface Observer
public void allExistingTasksCompleted()
ProcBlockObserver
allExistingTasksCompleted
in interface ProcBlockObserver
public void addedTo(Object observable)
Observer
addedTo
in interface Observer
public void taskAddFailed(Object task, Throwable w)
ProcBlockObserver
taskAddFailed
in interface ProcBlockObserver
public void deletedFrom(Object observable)
Observer
deletedFrom
in interface Observer
public String getConstructedFileName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |