Interface WorkingDirectoryInitializer

  • All Known Implementing Classes:
    DefaultWorkingDirectoryInitializer
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface WorkingDirectoryInitializer
    A strategy interface to initialize the working directory. The working directory must contain all necessary Cassandra files after the init(Path, Version) method has been called.
    Since:
    4.0.0
    Author:
    Dmytro Nosan
    See Also:
    DefaultWorkingDirectoryInitializer
    • Method Detail

      • init

        void init​(Path workingDirectory,
                  Version version)
           throws IOException
        Initializes working directory.
        Parameters:
        workingDirectory - working directory
        version - Cassandra version
        Throws:
        IOException - an I/O error occurs