Class ServerProperties
java.lang.Object
de.espirit.firstspirit.server.configuration.ServerProperties
A list of all accessible server properties. Use
ServerConfigurationAgent.getServerProperty(ServerProperty)
for retrieving the current value in a type safe way.- Since:
- 5.2.180704
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServerProperty<String>
Administrator's email address used to send notification mails to.static final ServerProperty<Duration>
Data sync timeout for AJAX in Webmonitorstatic final ServerProperty<Duration>
Image reload timeout in Webmonitorstatic final ServerProperty<String>
E-mail address for backup informationstatic final ServerProperty<String>
Host name of the master cluster serverstatic final ServerProperty<Integer>
Port of the master cluster serverstatic final ServerProperty<Path>
Path to the master cluster serverstatic final ServerProperty<String>
Name of the slave cluster serverstatic final ServerProperty<String>
Server minimum free space shutdown limit.static final ServerProperty<String>
Server minimum free space warning limit.static final ServerProperty<String>
Directories used for disk space check (comma separated)static final ServerProperty<Integer>
Deprecated.static final ServerProperty<Boolean>
Indicates whether or not the server will be shut down if space left limit is exceeded.static final ServerProperty<Integer>
Deprecated.since 5.2.230209 - replaced byFREE_SPACE_WARN_LIMIT
.static final ServerProperty<Boolean>
Indicates whether or not a warning mail will be issued if space left limit is exceeded.static final ServerProperty<String>
Configured host name of the FirstSpirit server.static final ServerProperty<Integer>
HTTP port of the FirstSpirit server.static final ServerProperty<Path>
Path to the launcher JRE used on macOS.static final ServerProperty<Path>
Path to the launcher JRE used on Windows.static final ServerProperty<Integer>
Maximum percentage of memory to be usedstatic final ServerProperty<Boolean>
Indicates if the memory warning is enabled.
If enabled a notification email will be send to the configuredemail address
.static final ServerProperty<Boolean>
Indicates if the Message of the Day is to be shown.static final ServerProperty<Boolean>
Indicates if the out of memory warning for the FirstSpirit server is enabled.static final ServerProperty<Integer>
Socket port of the FirstSpirit server.static final ServerProperty<LocalTime>
Full hour at which statistics data is gathered on a daily basis.static final ServerProperty<URL>
URL of the FirstSpirit serverstatic final ServerProperty<String>
Path of the root web application, for an internal servlet engine this is typically "/" and "/fs5root" for external servlet engines (e.g. -
Constructor Summary
-
Method Summary
-
Field Details
-
ADMIN_MAIL_ADDRESS
Administrator's email address used to send notification mails to.- Since:
- 5.2.180704
-
AJAX_DATA_SYNC_TIMEOUT
Data sync timeout for AJAX in Webmonitor- Since:
- 5.2.180704
-
AJAX_IMAGE_RELOAD_TIMEOUT
Image reload timeout in Webmonitor- Since:
- 5.2.180704
-
HDD_WARN_LIMIT
Deprecated.since 5.2.230209 - replaced byFREE_SPACE_WARN_LIMIT
.Percental limit of hard disk drive space left. A warning e-mail is issued if this limit is exceeded.- Since:
- 5.2.180704
- See Also:
-
FREE_SPACE_WARN_LIMIT
Server minimum free space warning limit. If the free space left on the server falls below the limit, a warning mail is issued.
The value is in one of the supported limit formats:- Relative percent values. A warning mail is send if the used space exceeds the configured value: 90%
- Absolute size values. A warning mail is send if the free space falls below the configured value: 75000k, 1500m, 3g
- Since:
- 5.2.230209
- See Also:
-
HDD_WARN_LIMIT_ACTIVE
Indicates whether or not a warning mail will be issued if space left limit is exceeded.- Since:
- 5.2.180704
- See Also:
-
HDD_SHUTDOWN_LIMIT
Deprecated.since 5.2.230209 - replaced byFREE_SPACE_SHUTDOWN_LIMIT
.Percental limit of hard disk drive space left. The server will be shut down automatically if this limit is exceeded.- Since:
- 5.2.180704
- See Also:
-
FREE_SPACE_SHUTDOWN_LIMIT
Server minimum free space shutdown limit. If the free space left on the server falls below the limit, the server will shut down.
The value is in one of the supported limit formats:- Relative percent values. The server will shutdown if the used space exceeds the configured value: 90%
- Absolute size values. The server will shutdown if the free space falls below the configured value: 75000k, 1500m, 3g
- Since:
- 5.2.230209
- See Also:
-
HDD_SHUTDOWN_LIMIT_ACTIVE
Indicates whether or not the server will be shut down if space left limit is exceeded.- Since:
- 5.2.180704
- See Also:
-
HDD_DIRECTORIES
Directories used for disk space check (comma separated)- Since:
- 5.2.180704
- See Also:
-
MEMORY_LIMIT
Maximum percentage of memory to be used- Since:
- 5.2.180704
-
STATISTIC_START
Full hour at which statistics data is gathered on a daily basis.- Since:
- 5.2.180704
-
MEMORY_WARN_ACTIVE
Indicates if the memory warning is enabled.
If enabled a notification email will be send to the configuredemail address
.- Since:
- 5.2.180704
-
OUT_OF_MEMORY_WARN_ACTIVE
Indicates if the out of memory warning for the FirstSpirit server is enabled.- Since:
- 5.2.180704
-
MESSAGE_OF_THE_DAY_VISIBLE
Indicates if the Message of the Day is to be shown.- Since:
- 5.2.180704
-
SOCKET_PORT
Socket port of the FirstSpirit server.- Since:
- 5.2.180704
-
HTTP_PORT
HTTP port of the FirstSpirit server.- Since:
- 5.2.180704
-
WEBAPP_ROOT_URL
Path of the root web application, for an internal servlet engine this is typically "/" and "/fs5root" for external servlet engines (e.g. Tomcat).- Since:
- 5.2.180704
-
HOST
Configured host name of the FirstSpirit server.- Since:
- 5.2.180704
-
URL
URL of the FirstSpirit server- Since:
- 5.2.180704
-
CLUSTER_SLAVE_NAME
Name of the slave cluster server- Since:
- 5.2.180704
-
CLUSTER_SERVER_PATH
Path to the master cluster server- Since:
- 5.2.180704
-
CLUSTER_MASTER_HOST
Host name of the master cluster server- Since:
- 5.2.180704
-
CLUSTER_MASTER_PORT
Port of the master cluster server- Since:
- 5.2.180704
-
BACKUP_MAIL
E-mail address for backup information- Since:
- 5.2.180704
-
LAUNCHER_JRE_MACOS_PATH
Path to the launcher JRE used on macOS.- Since:
- 5.2.231213
-
LAUNCHER_JRE_WINDOWS_PATH
Path to the launcher JRE used on Windows.- Since:
- 5.2.231213
-
-
Constructor Details
-
ServerProperties
public ServerProperties()
-
FREE_SPACE_SHUTDOWN_LIMIT
.