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:
        name of this Cassandra instance, never null
      • getVersion

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

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

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

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

        boolean isRpcTransportEnabled()
        Checks whether RPC transport is enabled.
        Returns:
        true if RPC transport is enabled, otherwise false
      • getPort

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

        Integer getSslPort()
        Gets SSL port this Cassandra is listening on.
        Returns:
        the SSL port, or null if either native_transport_port_ssl was not set or native transport is disabled.
        See Also:
        isNativeTransportEnabled()
      • getRpcPort

        Integer getRpcPort()
        Gets RPC port this Cassandra is listening on.
        Returns:
        the port, or null if RPC transport is disabled
        See Also:
        isRpcTransportEnabled()
      • getJvmOptions

        Set<String> getJvmOptions()
        Gets Cassandra JVM Options that were used on start.
        Returns:
        the JVM options, never null
      • getSystemProperties

        Map<String,​String> getSystemProperties()
        Gets Cassandra JVM parameters that were used on start.
        Returns:
        the JVM parameters, never null
      • getEnvironmentVariables

        Map<String,​String> getEnvironmentVariables()
        Gets Cassandra Environment variables that were used on start.
        Returns:
        the environment variables, never null
      • getConfigProperties

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