Interface Settings


  • public interface Settings
    Cassandra settings.
    Since:
    4.0.0
    Author:
    Dmytro Nosan
    • Method Detail

      • getName

        String getName()
        Gets the name of this Cassandra instance.
        Returns:
        the name of this Cassandra instance, never null
      • getVersion

        Version getVersion()
        Gets the Version of this Cassandra instance.
        Returns:
        the version, never null
      • getConfigurationFile

        Path getConfigurationFile()
        Gets the Cassandra configuration file.
        Returns:
        the configuration file, never null
      • getWorkingDirectory

        Path getWorkingDirectory()
        Gets the working directory.
        Returns:
        the working directory, never null
      • isNativeTransportEnabled

        boolean isNativeTransportEnabled()
        Checks whether the native transport is enabled.
        Returns:
        true if the native transport is enabled, otherwise false
      • getAddress

        InetAddress getAddress()
        Gets the address this Cassandra instance is listening on.
        Returns:
        the address, or null if the native transport is disabled
      • getPort

        Integer getPort()
        Gets the port this Cassandra instance is listening on.
        Returns:
        the port, or null if the native transport is disabled
      • getSslPort

        Integer getSslPort()
        Gets the SSL port this Cassandra instance is listening on.
        Returns:
        the SSL port, or null if native_transport_port_ssl is not set
      • getJvmOptions

        Set<String> getJvmOptions()
        Gets the Cassandra JVM options used at startup.
        Returns:
        the JVM options, never null
      • getSystemProperties

        Map<String,​String> getSystemProperties()
        Gets the Cassandra JVM parameters used at startup.
        Returns:
        the JVM parameters, never null
      • getEnvironmentVariables

        Map<String,​String> getEnvironmentVariables()
        Gets the Cassandra environment variables used at startup.
        Returns:
        the environment variables, never null
      • getConfigProperties

        Map<String,​Object> getConfigProperties()
        Gets the Cassandra configuration properties.
        Returns:
        the configuration properties, never null