Class SimpleFSDirectory

    • Constructor Detail

      • SimpleFSDirectory

        public SimpleFSDirectory​(Path path,
                                 LockFactory lockFactory)
                          throws IOException
        Deprecated.
        Create a new SimpleFSDirectory for the named location. The directory is created at the named location if it does not yet exist.
        Parameters:
        path - the path of the directory
        lockFactory - the lock factory to use
        Throws:
        IOException - if there is a low-level I/O error
      • SimpleFSDirectory

        public SimpleFSDirectory​(Path path)
                          throws IOException
        Deprecated.
        Create a new SimpleFSDirectory for the named location and FSLockFactory.getDefault(). The directory is created at the named location if it does not yet exist.
        Parameters:
        path - the path of the directory
        Throws:
        IOException - if there is a low-level I/O error