
Public Member Functions | |
| void | _checkAutoRecover () |
| void | _checkAutoRecoverStartup () |
| void | _checkSchedules () |
| StringBuffer | generateAdaptorConfigXML () |
| LocalMonitor () | |
| String | portForUnregisteredAppNamed (String name) |
| WOResponse | queryInstance (MInstance anInstance) throws MonitorException |
| void | registerUnknownInstance (String name, String host, String port) |
| WOResponse | setAcceptInstance (MInstance anInstance) throws MonitorException |
| String | startInstance (MInstance anInstance) |
| WOResponse | stopInstance (MInstance anInstance) throws MonitorException |
| WOResponse | terminateInstance (MInstance anInstance) throws MonitorException |
| void | triageUnknownInstances () |
Protected Member Functions | |
| void | catchInstanceErrors (MInstance anInstance) throws MonitorException |
| NSMutableDictionary | createInstanceRequestDictionary (String commandString, String queryString, MInstance anInstance) |
| WOResponse | sendInstanceRequest (MInstance anInstance, NSDictionary xmlDict) throws MonitorException |
Package Attributes | |
| final int | _forceQuitDelay = ERXProperties.intForKeyWithDefault("WOTaskd.killTimeout", 120000) |
| final boolean | _forceQuitTaskEnabled = ERXProperties.booleanForKeyWithDefault("WOTaskd.forceQuitTaskEnabled", false) |
| String | _hostName |
| boolean | _isOnWindows = false |
| final int | _receiveTimeout = ERXProperties.intForKeyWithDefault("WOTaskd.receiveTimeout", 5000) |
| boolean | _shouldUseSpawn = true |
| NSMutableDictionary | _unknownApplications = new NSMutableDictionary() |
| _NSCollectionReaderWriterLock | _unknownAppLock = new _NSCollectionReaderWriterLock() |
| WOTimer | anAutoRecoverStartupTimer |
| WOTimer | anAutoRecoverTimer |
| WOTimer | aScheduleTimer |
| String | spawningGrounds = null |
| Application | theApplication = (Application )WOApplication.application() |
Private Member Functions | |
| void | _autoRecoverApplication (MApplication anApplication) |
| boolean | _testConnection (MInstance anInstance) |
| NSTimestamp | calculateNearestHour () |
| LocalMonitor | ( | ) |
| void _autoRecoverApplication | ( | MApplication | anApplication | ) | [private] |
| void _checkAutoRecover | ( | ) |
| void _checkAutoRecoverStartup | ( | ) |
| void _checkSchedules | ( | ) |
| boolean _testConnection | ( | MInstance | anInstance | ) | [private] |
| NSTimestamp calculateNearestHour | ( | ) | [private] |
| void catchInstanceErrors | ( | MInstance | anInstance | ) | throws MonitorException [protected] |
| NSMutableDictionary createInstanceRequestDictionary | ( | String | commandString, | |
| String | queryString, | |||
| MInstance | anInstance | |||
| ) | [protected] |
| StringBuffer generateAdaptorConfigXML | ( | ) | [virtual] |
Implements ProtoLocalMonitor.
| WOResponse queryInstance | ( | MInstance | anInstance | ) | throws MonitorException [virtual] |
Implements ProtoLocalMonitor.
| WOResponse sendInstanceRequest | ( | MInstance | anInstance, | |
| NSDictionary | xmlDict | |||
| ) | throws MonitorException [protected] |
| WOResponse setAcceptInstance | ( | MInstance | anInstance | ) | throws MonitorException |
Implements ProtoLocalMonitor.
| WOResponse stopInstance | ( | MInstance | anInstance | ) | throws MonitorException [virtual] |
Implements ProtoLocalMonitor.
| WOResponse terminateInstance | ( | MInstance | anInstance | ) | throws MonitorException [virtual] |
Implements ProtoLocalMonitor.
| void triageUnknownInstances | ( | ) |
final int _forceQuitDelay = ERXProperties.intForKeyWithDefault("WOTaskd.killTimeout", 120000) [package] |
final boolean _forceQuitTaskEnabled = ERXProperties.booleanForKeyWithDefault("WOTaskd.forceQuitTaskEnabled", false) [package] |
boolean _isOnWindows = false [package] |
final int _receiveTimeout = ERXProperties.intForKeyWithDefault("WOTaskd.receiveTimeout", 5000) [package] |
boolean _shouldUseSpawn = true [package] |
NSMutableDictionary _unknownApplications = new NSMutableDictionary() [package] |
_NSCollectionReaderWriterLock _unknownAppLock = new _NSCollectionReaderWriterLock() [package] |
WOTimer anAutoRecoverStartupTimer [package] |
WOTimer anAutoRecoverTimer [package] |
WOTimer aScheduleTimer [package] |
String spawningGrounds = null [package] |
Application theApplication = (Application )WOApplication.application() [package] |
1.5.8