
| MInstance | ( | MHost | aHost, | |
| MApplication | anApplication, | |||
| Integer | anID, | |||
| MSiteConfig | aConfig | |||
| ) |
******** Constructors *********
| MInstance | ( | NSDictionary | aDict, | |
| MSiteConfig | aConfig | |||
| ) |
| void _takeNameFromApplication | ( | ) |
| void _takeOutputPathFromApplication | ( | ) |
| void _takePathFromApplication | ( | ) |
| void _takePortFromApplication | ( | ) |
| void _takeValueFromApplication | ( | String | valueName | ) |
| String activeSessions | ( | ) |
| int activeSessionsValue | ( | ) |
| void addDeath | ( | ) |
| String additionalArgs | ( | ) |
| NSArray additionalArgumentsAsArray | ( | ) |
******* ******** Command Line Arguments *********
| MApplication application | ( | ) |
| String applicationName | ( | ) |
| Boolean autoOpenInBrowser | ( | ) |
| Boolean autoRecover | ( | ) |
| String averageIdlePeriod | ( | ) |
| float avgIdleTimeValue | ( | ) |
| String avgTransactionTime | ( | ) |
| float avgTransactionTimeValue | ( | ) |
| Boolean cachingEnabled | ( | ) |
| void calculateNextScheduledShutdown | ( | ) |
| void cancelForceQuitTask | ( | ) |
Cancel the forceQuit task if any
| Integer cnctTimeout | ( | ) |
| String commandLineArguments | ( | ) |
| NSArray commandLineArgumentsAsArray | ( | ) |
| int deathCount | ( | ) |
| NSMutableArray deaths | ( | ) |
****** ******** Deaths *********
| Boolean debuggingEnabled | ( | ) |
| NSDictionary dictionaryForArchive | ( | ) |
******* ******** Archiving Support *********
| String displayHostAndPort | ( | ) |
| String displayName | ( | ) |
******* ******** Display Name Strings *********
| boolean equals | ( | Object | obj | ) |
| void extractAdaptorValuesFromApplication | ( | ) |
| void failedToConnect | ( | ) |
| float floatStatisticsValueForKey | ( | String | key, | |
| float | defaultValue | |||
| ) | [protected] |
| TimerTask forceQuitTask | ( | ) |
| Boolean gracefulScheduling | ( | ) |
| int hashCode | ( | ) |
| MHost host | ( | ) |
| String hostName | ( | ) |
******** 'values' accessors *********
| Integer id | ( | ) |
| int intStatisticsValueForKey | ( | String | key, | |
| int | defaultValue | |||
| ) | [protected] |
| boolean isAutoRecovering | ( | ) |
| boolean isGracefullyScheduled | ( | ) |
| boolean isLocal_W | ( | ) |
| boolean isRefusingNewSessions | ( | ) |
| boolean isRunning_M | ( | ) |
| boolean isRunning_W | ( | ) |
| boolean isScheduled | ( | ) |
| NSTimestamp lastRegistration | ( | ) |
******* ******** Registration and Lifebeats *********
| int lifebeatCheckInterval | ( | ) |
| Integer lifebeatInterval | ( | ) |
| Integer minimumActiveSessionsCount | ( | ) |
| boolean nearNextScheduledShutdown | ( | NSTimestamp | rightNow | ) |
| NSTimestamp nextScheduledShutdown | ( | ) |
| String nextScheduledShutdownString | ( | ) |
| Integer oldport | ( | ) |
******* ******** Don't use this **********
| String outputPath | ( | ) |
| String path | ( | ) |
| Integer port | ( | ) |
| Integer recvBufSize | ( | ) |
| Integer recvTimeout | ( | ) |
| void registerCrash | ( | NSTimestamp | registrationDate | ) |
| void registerStop | ( | NSTimestamp | registrationDate | ) |
| void removeAllDeaths | ( | ) |
| void resetStatisticsError | ( | ) |
| void scheduleForceQuit | ( | TimerTask | task, | |
| int | delay | |||
| ) |
only one force quit task can be scheduled
| task | - task to schedule | |
| delay | - delay before the task is fired (milliseconds) |
| void scheduleRefuseTask | ( | TimerTask | task, | |
| int | delay, | |||
| int | period | |||
| ) |
Schedule a task to repeatedly run
| task | - task to schedule | |
| delay | - delay before the task runs (milliseconds) | |
| period | - interval when the task is ran (milliseconds) |
| Integer schedulingDailyStartTime | ( | ) |
| Boolean schedulingEnabled | ( | ) |
| Integer schedulingHourlyStartTime | ( | ) |
| Integer schedulingInterval | ( | ) |
| Integer schedulingStartDay | ( | ) |
| String schedulingType | ( | ) |
| Integer schedulingWeeklyStartTime | ( | ) |
| Integer sendBufSize | ( | ) |
| void sendDeathNotificationEmail | ( | ) |
| Integer sendTimeout | ( | ) |
| void setAdditionalArgs | ( | String | value | ) |
| void setApplicationName | ( | String | value | ) |
| void setAutoOpenInBrowser | ( | Boolean | value | ) |
| void setAutoRecover | ( | Boolean | value | ) |
| void setCachingEnabled | ( | Boolean | value | ) |
| void setCnctTimeout | ( | Integer | value | ) |
| void setDeaths | ( | NSMutableArray | values | ) |
| void setDebuggingEnabled | ( | Boolean | value | ) |
| void setForceQuitTask | ( | TimerTask | task | ) |
| void setGracefulScheduling | ( | Boolean | value | ) |
| void setHostName | ( | String | value | ) |
| void setId | ( | Integer | value | ) |
| void setLifebeatInterval | ( | Integer | value | ) |
| void setMinimumActiveSessionsCount | ( | Integer | value | ) |
| void setNextScheduledShutdown | ( | NSTimestamp | newtime | ) |
| void setNextScheduledShutdownString_M | ( | String | newtime | ) |
| void setOldport | ( | Integer | value | ) |
| void setOutputPath | ( | String | value | ) |
| void setPath | ( | String | value | ) |
| void setPort | ( | Integer | value | ) |
| void setRecvBufSize | ( | Integer | value | ) |
| void setRecvTimeout | ( | Integer | value | ) |
| void setRefusingNewSessions | ( | boolean | isRefusingNewSessions | ) |
*******
| void setSchedulingDailyStartTime | ( | Integer | value | ) |
| void setSchedulingEnabled | ( | Boolean | value | ) |
| void setSchedulingHourlyStartTime | ( | Integer | value | ) |
| void setSchedulingInterval | ( | Integer | value | ) |
| void setSchedulingStartDay | ( | Integer | value | ) |
| void setSchedulingType | ( | String | value | ) |
| void setSchedulingWeeklyStartTime | ( | Integer | value | ) |
| void setSendBufSize | ( | Integer | value | ) |
| void setSendTimeout | ( | Integer | value | ) |
| void setShouldDie | ( | boolean | b | ) |
| void setStatistics | ( | NSDictionary | newStatistics | ) |
| void setStatisticsError | ( | String | errorString | ) |
| void setValues | ( | NSMutableDictionary | newValues | ) |
******* ******** Overridden Methods for Scheduling *********
Reimplemented from MObject.
| boolean shouldDie | ( | ) |
| boolean shouldDieAndReset | ( | ) |
| void startRegistration | ( | NSTimestamp | registrationDate | ) |
| NSDictionary statistics | ( | ) |
| String statisticsError | ( | ) |
| void succeededInConnection | ( | ) |
| void takeValuesFromApplication | ( | ) |
| Timer taskTimer | ( | ) |
| String toNullOrString | ( | Object | o | ) | [private] |
| String toString | ( | ) |
| String transactions | ( | ) |
| int transactionsValue | ( | ) |
| void updateRegistration | ( | NSTimestamp | registrationDate | ) |
| void updateValues | ( | NSDictionary | aDict | ) |
Reimplemented from MObject.
| void willAttemptToStart | ( | ) |
MApplication _application [package] |
int _connectFailureCount = 0 [private] |
******* ******** State Support *********
NSMutableArray _deaths = new NSMutableArray() [package] |
NSTimestamp _finishStartingByDate = new NSTimestamp() [package] |
TimerTask _forceQuitTask [private] |
NSTimestamp _lastRegistration = NSTimestamp.DistantPast [package] |
*******
NSTimestamp _nextScheduledShutdown = NSTimestamp.DistantPast [package] |
******* ******** Scheduling *********
String _nextScheduledShutdownString = "-" [package] |
boolean _shouldDie = false [private] |
NSMutableDictionary _statistics = new NSMutableDictionary() [package] |
******* ******** Statistics Support *********
String _statisticsError = null [private] |
Timer _taskTimer [private] |
******** Force quit task *********
NSTimestampFormatter dateFormatter = new NSTimestampFormatter("%m/%d/%Y %H:%M:%S %Z") [static, package] |
| boolean isActivelyBeingScheduled = false |
boolean isRefusingNewSessions = false [private] |
NSTimestampFormatter shutdownFormatter = new NSTimestampFormatter("%a @ %H:00") [static, package] |
| int state = MObject.DEAD |
long TIME_FOR_STARTUP = 30 [static] |
******* ******** Startup Calculations *********
1.5.8