|
|||||||||
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 int |
action
|
private ProductVersionHolder |
engineVersion
|
private java.io.File |
home
|
private int |
intValue
|
private java.lang.String |
key3
|
private java.lang.Runnable |
task
|
Fields inherited from class org.apache.derby.impl.services.monitor.BaseMonitor |
---|
applicationProperties, bootProperties, daemonGroup, dontGC, implementationSets, inShutdown, reportOn |
Constructor Summary | |
---|---|
FileMonitor()
|
|
FileMonitor(java.util.Properties properties,
java.io.PrintStream log)
|
Method Summary | |
---|---|
(package private) java.io.InputStream |
applicationPropertiesStream()
Get InputStream for application properties file Returns nul if it does not exist. |
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. |
java.lang.Object |
run()
|
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
private int action
private java.lang.String key3
private java.lang.Runnable task
private int intValue
Constructor Detail |
---|
public FileMonitor()
public FileMonitor(java.util.Properties properties, java.io.PrintStream log)
Method Detail |
---|
private java.io.InputStream PBapplicationPropertiesStream() throws java.io.IOException
java.io.IOException
public java.lang.Object getEnvironment()
ModuleFactory
getEnvironment
in interface ModuleFactory
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
getJVMProperty
in interface 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 java.lang.Object run() throws java.io.IOException
run
in interface java.security.PrivilegedExceptionAction
java.io.IOException
public final ProductVersionHolder getEngineVersion()
getEngineVersion
in interface ModuleFactory
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |