Class HeadNodeStorage

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class HeadNodeStorage
    extends StorageType
    This data class describes the storage area on a node.
    Version:
    $Revision$
    Author:
    Karan Vahi
    • Constructor Detail

      • HeadNodeStorage

        public HeadNodeStorage()
        The default constructor
      • HeadNodeStorage

        public HeadNodeStorage​(StorageType type)
        The overloaded constructor
        Parameters:
        type - StorageType
      • HeadNodeStorage

        public HeadNodeStorage​(LocalDirectory local,
                               SharedDirectory shared)
        The overloaded constructor.
        Parameters:
        local - the local directory on the node.
        shared - the shared directory on the node.
    • Method Detail

      • toXML

        public void toXML​(java.io.Writer writer,
                          java.lang.String indent)
                   throws java.io.IOException
        Writes out the xml description of the object.
        Overrides:
        toXML in class StorageType
        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.