Class StandaloneServerSessionCleanupJob
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.core.internal.jobs.InternalJob
-
- org.eclipse.core.runtime.jobs.Job
-
- com.e1c.g5.v8.dt.platform.standaloneserver.wst.core.StandaloneServerSessionCleanupJob
-
- All Implemented Interfaces:
Comparable
,org.eclipse.core.runtime.IAdaptable
public class StandaloneServerSessionCleanupJob extends org.eclipse.core.runtime.jobs.Job
Cleans specified debug session from stanalone server. Uses ibcmd session administration mode to forecefully terminate the session of the local standalone server that is supposed to be among the processes registered with launch of the provided debug target, If alive standalone server process could not be found then nothing is done. If cleaning with ibcmd fails then error message will be added to the journal but no error dialog will be displayed to the user. The reason is that this cleanup job is not the main function and is not directly invoked by the user. Instead, this is just the assistance to cleanup *possibly* stuck session.
-
-
Constructor Summary
Constructors Constructor Description StandaloneServerSessionCleanupJob(IDebugSession session, Path serverLocation)
Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.core.runtime.IStatus
run(org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, belongsTo, cancel, canceling, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
-
-
-
-
Constructor Detail
-
StandaloneServerSessionCleanupJob
public StandaloneServerSessionCleanupJob(IDebugSession session, Path serverLocation)
Creates new instance.- Parameters:
session
- Debug session that is to be cleaned from standalone server.
-
-