Class WorkerSharedDirectory
- java.lang.Object
-
- edu.isi.pegasus.planner.catalog.site.classes.SiteData
-
- edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
-
- edu.isi.pegasus.planner.catalog.site.classes.DirectoryLayout
-
- edu.isi.pegasus.planner.catalog.site.classes.WorkerSharedDirectory
-
- All Implemented Interfaces:
java.lang.Cloneable
public class WorkerSharedDirectory extends DirectoryLayout
This data class describes the directory shared only amongst worker nodes .- Version:
- $Revision$
- Author:
- Karan Vahi
-
-
Field Summary
-
Fields inherited from class edu.isi.pegasus.planner.catalog.site.classes.DirectoryLayout
mFileServers, mInternalMount
-
-
Constructor Summary
Constructors Constructor Description WorkerSharedDirectory()The default constructor.WorkerSharedDirectory(java.util.Map<FileServerType.OPERATION,java.util.List<FileServer>> fs, InternalMountPoint imt)The overloaded constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SiteDataVisitor visitor)Accept method for the SiteData classes that accepts a visitorvoidtoXML(java.io.Writer writer, java.lang.String indent)Writes out the xml description of the object.-
Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.DirectoryLayout
addFileServer, clone, getFileServers, getFileServersIterator, getInternalMountPoint, hasFileServerForGETOperations, hasFileServerForOperations, hasFileServerForPUTOperations, isEmpty, resetFileServers, selectFileServer, setFileServers, setInternalMountPoint
-
Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
toString, toXML, writeAttribute
-
-
-
-
Constructor Detail
-
WorkerSharedDirectory
public WorkerSharedDirectory()
The default constructor.
-
WorkerSharedDirectory
public WorkerSharedDirectory(java.util.Map<FileServerType.OPERATION,java.util.List<FileServer>> fs, InternalMountPoint imt)
The overloaded constructor- Parameters:
fs- list of file serversimt- the internal mount point.
-
-
Method Detail
-
toXML
public void toXML(java.io.Writer writer, java.lang.String indent) throws java.io.IOExceptionWrites out the xml description of the object.- Specified by:
toXMLin classAbstractSiteData- Parameters:
writer- is a Writer opened and ready for writing. This can also be a StringWriter for efficient output.indent- the indent to be used.- Throws:
java.io.IOException- if something fishy happens to the stream.
-
accept
public void accept(SiteDataVisitor visitor)
Description copied from class:AbstractSiteDataAccept method for the SiteData classes that accepts a visitor- Specified by:
acceptin classAbstractSiteData- Parameters:
visitor- the visitor to be used
-
-