public final class FileMonitor extends BaseMonitor
BaseMonitor.ProviderEnumeration| Modifier and Type | Field and Description |
|---|---|
private ProductVersionHolder |
engineVersion |
private java.io.File |
home |
applicationProperties, bootProperties, daemonGroup, implementationSets, inShutdown, reportOn| Constructor and Description |
|---|
FileMonitor() |
FileMonitor(java.util.Properties properties,
java.io.PrintWriter log) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.io.InputStream |
applicationPropertiesStream()
Get InputStream for application properties file Returns nul if it does not exist.
|
private static java.lang.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).
|
java.lang.Thread |
getDaemonThread(java.lang.Runnable task,
java.lang.String name,
boolean setMinPriority)
Get a newly created background thread.
|
(package private) java.util.Properties |
getDefaultModuleProperties()
Get the complete set of module properties by
loading in contents of all the org/apache/derby/modules.properties
files.
|
ProductVersionHolder |
getEngineVersion() |
java.lang.Object |
getEnvironment()
Return the environment object that this system was booted in.
|
java.lang.String |
getJVMProperty(java.lang.String key)
Return a property from the JVM's system set.
|
(package private) boolean |
initialize(boolean lite)
Initialize the system in a privileged block.
|
private java.io.InputStream |
PBapplicationPropertiesStream() |
private java.lang.String |
PBgetJVMProperty(java.lang.String key)
SECURITY WARNING.
|
private boolean |
PBinitialize(boolean lite)
SECURITY WARNING.
|
void |
setThreadPriority(int priority)
Set the priority of the current thread.
|
boot, bootProviderServices, bootService, canSupport, classFromIdentifier, createPersistentService, dumpProperties, findModule, findProviderForCreate, findService, getApplicationProperties, getBundle, getCanonicalServiceName, getLocale, getLocaleFromString, getServiceList, getServiceName, getServiceProvider, getServiceType, getSystemStreams, getTimerFactory, getUUIDFactory, loadInstance, newInstanceFromIdentifier, readApplicationProperties, removePersistentService, removeRuntimeProperties, report, reportException, runWithState, setLocale, setLocale, shutdown, shutdown, startModule, startNonPersistentService, startPersistentService, startProviderService, startServicesprivate java.io.File home
private ProductVersionHolder engineVersion
public FileMonitor()
public FileMonitor(java.util.Properties properties,
java.io.PrintWriter log)
private java.io.InputStream PBapplicationPropertiesStream()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object getEnvironment()
ModuleFactoryprivate static java.lang.ThreadGroup createDaemonGroup()
private boolean PBinitialize(boolean lite)
private java.lang.String PBgetJVMProperty(java.lang.String key)
final boolean initialize(boolean lite)
initialize in class BaseMonitorfinal java.util.Properties getDefaultModuleProperties()
BaseMonitorgetDefaultModuleProperties in class BaseMonitorpublic final java.lang.String getJVMProperty(java.lang.String key)
ModuleFactorypublic final java.lang.Thread getDaemonThread(java.lang.Runnable task,
java.lang.String name,
boolean setMinPriority)
ModuleFactorygetDaemonThread in interface ModuleFactorygetDaemonThread in class BaseMonitorpublic final void setThreadPriority(int priority)
ModuleFactorysetThreadPriority in interface ModuleFactorysetThreadPriority in class BaseMonitorfinal java.io.InputStream applicationPropertiesStream()
throws java.io.IOException
BaseMonitorapplicationPropertiesStream in class BaseMonitorjava.io.IOExceptionpublic final ProductVersionHolder getEngineVersion()
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.