edu.isi.pegasus.planner.catalog.site.classes
public class WorkerNodeStorage extends StorageType
| Modifier and Type | Field and Description |
|---|---|
protected WorkerSharedDirectory |
mWorkerShared
The directory shared only amongst the worker nodes.
|
mLocalDirectory, mSharedDirectory| Constructor and Description |
|---|
WorkerNodeStorage()
The default constructor
|
WorkerNodeStorage(LocalDirectory local,
SharedDirectory shared)
The overloaded constructor.
|
WorkerNodeStorage(StorageType type)
The overloaded constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
accept, clone, getLocalDirectory, getSharedDirectory, setLocalDirectory, setLocalDirectory, setSharedDirectory, setSharedDirectorytoString, toXML, writeAttributeprotected WorkerSharedDirectory mWorkerShared
public WorkerNodeStorage()
public WorkerNodeStorage(StorageType type)
type - StorageTypepublic WorkerNodeStorage(LocalDirectory local, SharedDirectory shared)
local - the local directory on the node.shared - the shared directory on the node.public void setWorkerSharedDirectory(WorkerSharedDirectory directory)
directory - the worker node shared directory.public WorkerSharedDirectory getWorkerSharedDirectory()
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.