|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.services.monitor.BaseMonitor
org.apache.derby.impl.services.monitor.FileMonitor
public final class FileMonitor
Implementation of the monitor that uses the class loader that the its was loaded in for all class loading.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.derby.impl.services.monitor.BaseMonitor |
|---|
BaseMonitor.ProviderEnumeration |
| Field Summary | |
|---|---|
private ProductVersionHolder |
engineVersion
|
private java.io.File |
home
|
| Fields inherited from class org.apache.derby.impl.services.monitor.BaseMonitor |
|---|
applicationProperties, bootProperties, daemonGroup, implementationSets, inShutdown, reportOn |
| Constructor Summary | |
|---|---|
FileMonitor()
|
|
FileMonitor(java.util.Properties properties,
java.io.PrintWriter log)
|
|
| Method Summary | |
|---|---|
(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.io.File home
private ProductVersionHolder engineVersion
| Constructor Detail |
|---|
public FileMonitor()
public FileMonitor(java.util.Properties properties,
java.io.PrintWriter log)
| Method Detail |
|---|
private java.io.InputStream PBapplicationPropertiesStream()
throws java.io.IOException
java.io.IOExceptionpublic 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 BaseMonitorfinal java.util.Properties getDefaultModuleProperties()
BaseMonitor
getDefaultModuleProperties in class BaseMonitorpublic 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 ModuleFactorygetDaemonThread in class BaseMonitorpublic final void setThreadPriority(int priority)
ModuleFactory
setThreadPriority in interface ModuleFactorysetThreadPriority in class BaseMonitor
final java.io.InputStream applicationPropertiesStream()
throws java.io.IOException
BaseMonitor
applicationPropertiesStream in class BaseMonitorjava.io.IOExceptionpublic final ProductVersionHolder getEngineVersion()
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||