Interface Settings
-
public interface SettingsCassandra settings.- Since:
- 4.0.0
- Author:
- Dmytro Nosan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddressgetAddress()Gets the address thisCassandrainstance is listening on.Map<String,Object>getConfigProperties()Gets the Cassandra configuration properties.PathgetConfigurationFile()Gets the Cassandra configuration file.Map<String,String>getEnvironmentVariables()Gets the Cassandra environment variables used at startup.Set<String>getJvmOptions()Gets the Cassandra JVM options used at startup.StringgetName()Gets the name of thisCassandrainstance.IntegergetPort()Gets the port thisCassandrainstance is listening on.IntegergetSslPort()Gets the SSL port thisCassandrainstance is listening on.Map<String,String>getSystemProperties()Gets the Cassandra JVM parameters used at startup.VersiongetVersion()Gets theVersionof thisCassandrainstance.PathgetWorkingDirectory()Gets the working directory.booleanisNativeTransportEnabled()Checks whether the native transport is enabled.
-
-
-
Method Detail
-
getName
String getName()
Gets the name of thisCassandrainstance.- Returns:
- the name of this
Cassandrainstance, nevernull
-
getVersion
Version getVersion()
Gets theVersionof thisCassandrainstance.- 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:
trueif the native transport is enabled, otherwisefalse
-
getAddress
InetAddress getAddress()
Gets the address thisCassandrainstance is listening on.- Returns:
- the address, or
nullif the native transport is disabled
-
getPort
Integer getPort()
Gets the port thisCassandrainstance is listening on.- Returns:
- the port, or
nullif the native transport is disabled
-
getSslPort
Integer getSslPort()
Gets the SSL port thisCassandrainstance is listening on.- Returns:
- the SSL port, or
nullifnative_transport_port_sslis 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
-
-