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, startServices
private 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.IOException
public java.lang.Object getEnvironment()
ModuleFactory
private 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 BaseMonitor
final java.util.Properties getDefaultModuleProperties()
BaseMonitor
getDefaultModuleProperties
in class BaseMonitor
public final java.lang.String getJVMProperty(java.lang.String key)
ModuleFactory
public final java.lang.Thread getDaemonThread(java.lang.Runnable task, java.lang.String name, boolean setMinPriority)
ModuleFactory
getDaemonThread
in interface ModuleFactory
getDaemonThread
in class BaseMonitor
public final void setThreadPriority(int priority)
ModuleFactory
setThreadPriority
in interface ModuleFactory
setThreadPriority
in class BaseMonitor
final java.io.InputStream applicationPropertiesStream() throws java.io.IOException
BaseMonitor
applicationPropertiesStream
in class BaseMonitor
java.io.IOException
public final ProductVersionHolder getEngineVersion()
Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.