public class MInstance extends MObject
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
static ERXKey<MHost> |
HOST |
static ERXKey<String> |
HOST_NAME |
boolean |
isActivelyBeingScheduled |
int |
state |
static long |
TIME_FOR_STARTUP
Startup Calculations *********
|
_emptyString, _GET, _HTTP1, _POST, _zeroInteger, adaptorValues, adminActionStringPostfix, adminActionStringPrefix, ALIVE, CRASHING, DEAD, directActionString, halfHourAsSeconds, hostTypeArray, loadSchedulerArray, loadSchedulerArrayValues, schedulingIntervalArray, schedulingIntervals, schedulingTypeArray, STARTING, stateArray, STOPPING, timeOfDayArray, timesOfDay, UNKNOWN, urlVersionArray, values, weekArray, weekNames
_CLASS, NullValue
Constructor and Description |
---|
MInstance(MHost aHost,
MApplication anApplication,
Integer anID,
MSiteConfig aConfig)
Constructors *********
|
MInstance(NSDictionary aDict,
MSiteConfig aConfig) |
canAccessFieldsDirectly, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, morphedSchedulingStartDay, morphedSchedulingStartDay, morphedSchedulingStartTime, morphedSchedulingStartTime, siteConfig, takeValueForKey, takeValueForKeyPath, unableToSetNullForKey, validatedHostType, validatedInteger, validatedLifebeatInterval, validatedOutputPath, validatedSchedulingStartDay, validatedSchedulingStartTime, validatedSchedulingType, validatedStats, validatedUrlVersion, valueForKey, valueForKeyPath, values
public int state
public static long TIME_FOR_STARTUP
public boolean isActivelyBeingScheduled
public MInstance(MHost aHost, MApplication anApplication, Integer anID, MSiteConfig aConfig)
public MInstance(NSDictionary aDict, MSiteConfig aConfig)
public String hostName()
public void setHostName(String value)
public Integer id()
public void setId(Integer value)
public Integer port()
public void setPort(Integer value)
public String applicationName()
public void setApplicationName(String value)
public Boolean autoRecover()
public void setAutoRecover(Boolean value)
public Integer minimumActiveSessionsCount()
public void setMinimumActiveSessionsCount(Integer value)
public String path()
public void setPath(String value)
public Boolean cachingEnabled()
public void setCachingEnabled(Boolean value)
public Boolean debuggingEnabled()
public void setDebuggingEnabled(Boolean value)
public String outputPath()
public void setOutputPath(String value)
public Boolean autoOpenInBrowser()
public void setAutoOpenInBrowser(Boolean value)
public Integer lifebeatInterval()
public void setLifebeatInterval(Integer value)
public String additionalArgs()
public void setAdditionalArgs(String value)
public Boolean schedulingEnabled()
public void setSchedulingEnabled(Boolean value)
public String schedulingType()
public void setSchedulingType(String value)
public Integer schedulingHourlyStartTime()
public void setSchedulingHourlyStartTime(Integer value)
public Integer schedulingDailyStartTime()
public void setSchedulingDailyStartTime(Integer value)
public Integer schedulingWeeklyStartTime()
public void setSchedulingWeeklyStartTime(Integer value)
public Integer schedulingStartDay()
public void setSchedulingStartDay(Integer value)
public Integer schedulingInterval()
public void setSchedulingInterval(Integer value)
public Boolean gracefulScheduling()
public void setGracefulScheduling(Boolean value)
public Integer sendTimeout()
public void setSendTimeout(Integer value)
public Integer recvTimeout()
public void setRecvTimeout(Integer value)
public Integer cnctTimeout()
public void setCnctTimeout(Integer value)
public Integer sendBufSize()
public void setSendBufSize(Integer value)
public Integer recvBufSize()
public void setRecvBufSize(Integer value)
public Integer oldport()
public void setOldport(Integer value)
public MHost host()
public MApplication application()
public void _takeNameFromApplication()
public void _takePortFromApplication()
public void _takePathFromApplication()
public void _takeOutputPathFromApplication()
public void _takeValueFromApplication(String valueName)
public void takeValuesFromApplication()
public NSDictionary dictionaryForArchive()
public void extractAdaptorValuesFromApplication()
public String displayName()
public String displayHostAndPort()
public NSDictionary statistics()
public void setStatistics(NSDictionary newStatistics)
public String transactions()
public String activeSessions()
public String avgTransactionTime()
public String averageIdlePeriod()
public void setStatisticsError(String errorString)
public String statisticsError()
public void resetStatisticsError()
public void willAttemptToStart()
public void failedToConnect()
public void succeededInConnection()
public boolean isRunning_M()
public int lifebeatCheckInterval()
public boolean isRunning_W()
public boolean isAutoRecovering()
public boolean isLocal_W()
public void setShouldDie(boolean b)
public boolean shouldDie()
public boolean shouldDieAndReset()
public NSTimestamp lastRegistration()
public void startRegistration(NSTimestamp registrationDate)
public void updateRegistration(NSTimestamp registrationDate)
public void registerStop(NSTimestamp registrationDate)
public void registerCrash(NSTimestamp registrationDate)
public void sendDeathNotificationEmail()
public NSMutableArray deaths()
public void setDeaths(NSMutableArray values)
public int deathCount()
public void addDeath()
public void removeAllDeaths()
public NSArray additionalArgumentsAsArray()
public NSArray commandLineArgumentsAsArray()
public String commandLineArguments()
public void setValues(NSMutableDictionary newValues)
public void updateValues(NSDictionary aDict)
updateValues
in class MObject
public boolean isScheduled()
public boolean isGracefullyScheduled()
public NSTimestamp nextScheduledShutdown()
public void setNextScheduledShutdown(NSTimestamp newtime)
public String nextScheduledShutdownString()
public void setNextScheduledShutdownString_M(String newtime)
public boolean nearNextScheduledShutdown(NSTimestamp rightNow)
public void calculateNextScheduledShutdown()
public void setRefusingNewSessions(boolean isRefusingNewSessions)
public boolean isRefusingNewSessions()
protected int intStatisticsValueForKey(String key, int defaultValue)
protected float floatStatisticsValueForKey(String key, float defaultValue)
public int transactionsValue()
public int activeSessionsValue()
public float avgIdleTimeValue()
public float avgTransactionTimeValue()
public Timer taskTimer()
public void cancelForceQuitTask()
public void setForceQuitTask(TimerTask task)
public TimerTask forceQuitTask()
public void scheduleForceQuit(TimerTask task, int delay)
task
- - task to scheduledelay
- - delay before the task is fired (milliseconds)public void scheduleRefuseTask(TimerTask task, int delay, int period)
task
- - task to scheduledelay
- - delay before the task runs (milliseconds)period
- - interval when the task is ran (milliseconds)Copyright © 2002 – 2024 Project Wonder.