/** * The listener port (1-65535) for client connections. Choose a port between * 49152 and 65535 to minimize the possibility of conflicts with other * services on this host. * * @return the client port */ public int getClientPort() { return getOrDefault("client_port", DEFAULT_CLIENT_PORT); }
/** * The listener port (1-65535) for shutdown commands. Choose a port between * 49152 and 65535 to minimize the possibility of conflicts with other * services on this host. * * @return the shutdown port */ public int getShutdownPort() { return getOrDefault("shutdown_port", DEFAULT_SHUTDOWN_PORT); }
/** * The absolute path to the directory where the Buffer data is stored. * For optimal write performance, the Buffer should be placed on a * separate disk partition (ideally a separate physical device) from * the database_directory. * * @return the buffer directory */ public String getBufferDirectory() { return getOrDefault("buffer_directory", DEFAULT_BUFFER_DIRECTORY); }
/** * The absolute path to the directory where the Database record and index * files are stored. For optimal performance, the Database should be * placed on a separate disk partition (ideally a separate physical device) * from the buffer_directory. * * @return the database directory */ public String getDatabaseDirectory() { return getOrDefault("database_directory", DEFAULT_DATABASE_DIRECTORY); }
/** * The default environment that is automatically loaded when the server * starts and is used whenever a client does not specify an environment for * its connection. * * @return the default environment */ public String getDefaultEnvironment() { return getOrDefault("default_environment", DEFAULT_DEFAULT_ENVIRONMENT); }
/** * Determine whether log messages should also be printed to the console * (STDOUT). * * @return the determination whether to enable console logging */ public boolean getEnableConsoleLogging() { return getOrDefault("enable_console_logging", DEFAULT_ENABLE_CONSOLE_LOGGING); }
/** * The listener port (1-65535) for management commands via JMX. Choose a * port between 49152 and 65535 to minimize the possibility of conflicts * with other services on this host. * * @return the jmx port */ public int getJmxPort() { return getOrDefault("jmx_port", DEFAULT_JMX_PORT); }
return getOrDefault("log_level", Interpreters.logLevel(), DEFAULT_LOG_LEVEL);