| Modifier and Type | Field and Description |
|---|---|
| private ProductVersionHolder | |
| private File | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final InputStream | applicationPropertiesStream()
Implements abstract org. Get InputStream for application properties file Returns nul if it does not exist. |
| private ThreadGroup | Returns: the thread group "derby.daemons"Create a ThreadGroup and set the daemon property to make sure the group is destroyed and garbage collected when all its members have finished (i.e., either when the driver is unloaded, or when the last database is shut down). |
| public final synchronized Thread | getDaemonThread(final Runnable task, final String name, final boolean setMinPriority)
Overrides org. Implements org. Warnings are suppressed because ThreadGroup.setDaemon() was slated for removal by Open JDK build 16-ea+26-1764. |
| pack-priv final Properties | getDefaultModuleProperties()
Overrides org. Get the complete set of module properties by loading in contents of all the org/apache/derby/modules.properties files. |
| public final ProductVersionHolder | |
| public Object | getEnvironment()
Implements org. Return the environment object that this system was booted in. This is a free form object that is set by the method the system is booted. |
| public final String | getJVMProperty(final String key)
Implements org. Return a property from the JVM's system set. |
| pack-priv final boolean | initialize(final boolean lite)
Implements abstract org. Initialize the system. |
| private InputStream | |
| private String | |
| private boolean |
| engineVersion | back to summary |
|---|---|
| private ProductVersionHolder engineVersion | |
| home | back to summary |
|---|---|
| private File home | |
| securityProperties | back to summary |
|---|---|
| private static final Map<String, Void> securityProperties | |
| FileMonitor | back to summary |
|---|---|
| public FileMonitor() | |
| FileMonitor | back to summary |
|---|---|
| public FileMonitor(Properties properties, PrintWriter log) | |
| applicationPropertiesStream | back to summary |
|---|---|
| pack-priv final InputStream applicationPropertiesStream() throws IOException Implements abstract org. Doc from org. Get InputStream for application properties file Returns nul if it does not exist. | |
| createDaemonGroup | back to summary |
|---|---|
| private ThreadGroup createDaemonGroup() Create a ThreadGroup and set the daemon property to make sure the group is destroyed and garbage collected when all its members have finished (i.e., either when the driver is unloaded, or when the last database is shut down). Warnings are suppressed because ThreadGroup.setDaemon() was slated for removal by Open JDK build 16-ea+26-1764. See https://issues.apache.org/jira/browse/DERBY-7094
| |
| getDaemonThread | back to summary |
|---|---|
| public final synchronized Thread getDaemonThread(final Runnable task, final String name, final boolean setMinPriority) Overrides org. Implements org. Warnings are suppressed because ThreadGroup.setDaemon() was slated for removal by Open JDK build 16-ea+26-1764. See https://issues.apache.org/jira/browse/DERBY-7094
| |
| getDefaultModuleProperties | back to summary |
|---|---|
| pack-priv final Properties getDefaultModuleProperties() Overrides org. Doc from org. Get the complete set of module properties by loading in contents of all the org/apache/derby/modules.properties files. This must be executed in a privileged block otherwise when running in a security manager environment no properties will be returned. | |
| getEngineVersion | back to summary |
|---|---|
| public final ProductVersionHolder getEngineVersion() Implements org. | |
| getEnvironment | back to summary |
|---|---|
| public Object getEnvironment() Implements org. Doc from org. Return the environment object that this system was booted in. This is a free form object that is set by the method the system is booted. For example when running in a Marimba system it is set to the maribma application context. In most environments it will be set to a java.io.File object representing the system home directory. Code that call this method usualy have predefined knowledge of the type of the returned object, e.g. Marimba store code knows that this will be set to a marimba application context. | |
| getJVMProperty | back to summary |
|---|---|
| public final String getJVMProperty(final String key) Implements org. Doc from org. Return a property from the JVM's system set. In a Java2 environment this will be executed as a privileged block if and only if the property starts with 'derby.'. | |
| initialize | back to summary |
|---|---|
| pack-priv final boolean initialize(final boolean lite) Implements abstract org. Initialize the system. | |
| PBapplicationPropertiesStream | back to summary |
|---|---|
| private InputStream PBapplicationPropertiesStream() throws IOException | |
| PBgetJVMProperty | back to summary |
|---|---|
| private String PBgetJVMProperty(String key) SECURITY WARNING. This method is run in a privileged block in a Java 2 environment. Return a property from the JVM's system set. In a Java2 environment this will be executed as a privileged block if and only if the property starts with 'derby.'. | |
| PBinitialize | back to summary |
|---|---|
| private boolean PBinitialize(boolean lite) SECURITY WARNING. This method is run in a privileged block in a Java 2 environment. Set the system home directory. Returns false if it couldn't for some reason. | |