|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.classes.SiteData
edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
edu.isi.pegasus.planner.catalog.site.classes.StorageType
edu.isi.pegasus.planner.catalog.site.classes.WorkerNodeScratch
public class WorkerNodeScratch
This data class describes the scratch area on a head node. The difference from the worker node scratch is that it additionally has a worker shared directory that designates the shared directory amongst the worker nodes.
| Field Summary | |
|---|---|
protected WorkerSharedDirectory |
mWorkerShared
The directory shared only amongst the worker nodes. |
| Fields inherited from class edu.isi.pegasus.planner.catalog.site.classes.StorageType |
|---|
mLocalDirectory, mSharedDirectory |
| Constructor Summary | |
|---|---|
WorkerNodeScratch()
The default constructor |
|
WorkerNodeScratch(LocalDirectory local,
SharedDirectory shared)
The overloaded constructor. |
|
WorkerNodeScratch(StorageType type)
The overloaded constructor |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns the clone of the object. |
WorkerSharedDirectory |
getWorkerSharedDirectory()
Returns the directory shared amongst the worker nodes only. |
void |
setWorkerSharedDirectory(WorkerSharedDirectory directory)
Sets the directory shared amongst the worker nodes only. |
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object. |
| Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.StorageType |
|---|
getLocalDirectory, getSharedDirectory, selectLocalFileServer, selectSharedFileServer, setLocalDirectory, setSharedDirectory |
| Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData |
|---|
toString, toXML, writeAttribute |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected WorkerSharedDirectory mWorkerShared
| Constructor Detail |
|---|
public WorkerNodeScratch()
public WorkerNodeScratch(StorageType type)
type - StorageType
public WorkerNodeScratch(LocalDirectory local,
SharedDirectory shared)
local - the local directory on the node.shared - the shared directory on the node.| Method Detail |
|---|
public void setWorkerSharedDirectory(WorkerSharedDirectory directory)
directory - the worker node shared directory.public WorkerSharedDirectory getWorkerSharedDirectory()
public Object clone()
clone in class StorageType
public void toXML(Writer writer,
String indent)
throws IOException
toXML in class StorageTypewriter - is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent - the indent to be used.
IOException - if something fishy happens to the stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||