Interface DataAccessInterface

All Superinterfaces:
Remote

public interface DataAccessInterface extends Remote
The Interface DataAccessInterface.
  • Method Details

    • getFileLastModified

      long getFileLastModified(String destinationNameOrType, String source) throws MasterException, IOException
      Gets the file last modified.
      Parameters:
      destinationNameOrType - the destination name or type
      source - the source
      Returns:
      the file last modified
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • size

      long size(String destinationNameOrType, String source) throws MasterException, IOException
      Size.
      Parameters:
      destinationNameOrType - the destination name or type
      source - the source
      Returns:
      the long
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • get

      FileListElement get(String destinationNameOrType, String source) throws MasterException, IOException
      Gets the.
      Parameters:
      destinationNameOrType - the destination name or type
      source - the source
      Returns:
      the file list element
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • getProxySocketInput

      ProxySocket getProxySocketInput(String destinationNameOrType, String source, long offset) throws MasterException, IOException
      Gets the proxy socket input.
      Parameters:
      destinationNameOrType - the destination name or type
      source - the source
      offset - the offset
      Returns:
      the proxy socket input
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • getProxySocketInput

      ProxySocket getProxySocketInput(String destinationNameOrType, String source, long offset, long length) throws MasterException, IOException
      Gets the proxy socket input.
      Parameters:
      destinationNameOrType - the destination name or type
      source - the source
      offset - the offset
      length - the length
      Returns:
      the proxy socket input
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • getProxySocketOutput

      ProxySocket getProxySocketOutput(String caller, String destinationNameOrType, String target, long offset, int umask) throws MasterException, IOException
      Gets the proxy socket output.
      Parameters:
      caller - the caller (e.g. master, monitor)
      destinationNameOrType - the destination name or type
      target - the target
      offset - the offset
      umask - the umask
      Returns:
      the proxy socket output
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • delete

      void delete(String destinationNameOrType, String source, boolean force) throws MasterException, IOException
      Delete.
      Parameters:
      destinationNameOrType - the destination name or type
      source - the source
      force - the force
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • mkdir

      void mkdir(String destinationNameOrType, String path) throws MasterException, IOException
      Mkdir.
      Parameters:
      destinationNameOrType - the destination name or type
      path - the path
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • rmdir

      void rmdir(String destinationNameOrType, String path) throws MasterException, IOException
      Rmdir.
      Parameters:
      destinationNameOrType - the destination name or type
      path - the path
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • list

      FileListElement[] list(String destinationNameOrType, String path, int sort, int order) throws MasterException, IOException
      List.
      Parameters:
      destinationNameOrType - the destination name or type
      path - the path
      sort - the sort
      order - the order
      Returns:
      the file list element[]
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • list

      FileListElement[] list(String destinationNameOrType, String path) throws MasterException, IOException
      List.
      Parameters:
      destinationNameOrType - the destination name or type
      path - the path
      Returns:
      the file list element[]
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • move

      void move(String destinationNameOrType, String source, String target) throws MasterException, IOException
      Move.
      Parameters:
      destinationNameOrType - the destination name or type
      source - the source
      target - the target
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.
    • check

      void check(ProxySocket proxy) throws MasterException, IOException
      Check.
      Parameters:
      proxy - the proxy
      Throws:
      MasterException - the master exception
      IOException - Signals that an I/O exception has occurred.