stella.parameter
Class TargetList.TargetDump

java.lang.Object
  extended by stella.parameter.TargetList.TargetDump
Enclosing class:
TargetList

public static class TargetList.TargetDump
extends Object

A class that is a thread and dumps all of the targets registered at VM-exit to the scheduler to the dump directory. File names are derived from target definitions, file section. Existing files are overwrittn.


Field Summary
private  File dump
          The dump directory.
private  Map info
          My properties, used for writing.
private  Collection sched
          The xml-scheduler reference.
 
Constructor Summary
TargetList.TargetDump(File dir, Collection targets, Map prop)
          Constructs a new target dump giving the dump directory and a reference to the xml-scheduler.
 
Method Summary
 void dump()
          The dumping method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dump

private File dump
The dump directory.


sched

private Collection sched
The xml-scheduler reference.


info

private Map info
My properties, used for writing.

Constructor Detail

TargetList.TargetDump

public TargetList.TargetDump(File dir,
                             Collection targets,
                             Map prop)
Constructs a new target dump giving the dump directory and a reference to the xml-scheduler. During shutdown, the later one is queried for its actual target list which is then dumped.

Method Detail

dump

public void dump()
The dumping method. The target files are named according to the file entries (which are hopefully unique). Additional, serialized versions are dumped.