Classes | |
class | AProcess |
class | ProcessInfo |
Public Member Functions | |
void | autoStart (IProgressMonitor monitor) |
void | autoStop () |
void | clearBuffer () |
void | clearList () |
void | createThread () |
AProcess | get (String name) |
AProcess | get (int n) |
StringBuffer | getOutputBuffer () |
List< Integer > | getPID (String processName) |
GrxProcessManager (String name, GrxPluginManager manager) | |
boolean | isRegistered (ProcessInfo pi) |
boolean | isRunning (ProcessInfo pi) |
boolean | register (ProcessInfo pi) |
void | restart (IProgressMonitor monitor) |
void | setOutputBuffer (StringBuffer sb) |
void | setProcessList (GrxServerManager serverManager) |
int | size () |
void | startType () |
void | stopThread () |
void | stopType () |
boolean | unregister (String id) |
Static Public Member Functions | |
static synchronized void | shutDown () |
Private Member Functions | |
void | killall (String pname) |
String | psaxGrep (String str) |
void | setProcessList (IProgressMonitor monitor) |
void | updateIO () |
Private Attributes | |
boolean | isEnd_ = false |
SynchronizedAccessor< Boolean > | isType_ = new SynchronizedAccessor<Boolean>(true) |
ConcurrentLinkedQueue< String > | lineQueue = null |
ProcessInfo | nameServerInfo_ = null |
StringBuffer | outputBuffer_ = null |
java.util.List< AProcess > | process_ = null |
GrxServerManager | serverManager_ = null |
Thread | thread_ = null |
Static Private Attributes | |
static GrxProcessManager | GrxProcessManagerThis_ = null |
Definition at line 49 of file GrxProcessManager.java.
com.generalrobotix.ui.util.GrxProcessManager.GrxProcessManager | ( | String | name, |
GrxPluginManager | manager | ||
) | [inline] |
Definition at line 61 of file GrxProcessManager.java.
void com.generalrobotix.ui.util.GrxProcessManager.autoStart | ( | IProgressMonitor | monitor | ) | [inline] |
Definition at line 192 of file GrxProcessManager.java.
Definition at line 208 of file GrxProcessManager.java.
Definition at line 474 of file GrxProcessManager.java.
Definition at line 168 of file GrxProcessManager.java.
Definition at line 409 of file GrxProcessManager.java.
AProcess com.generalrobotix.ui.util.GrxProcessManager.get | ( | String | name | ) | [inline] |
Definition at line 172 of file GrxProcessManager.java.
AProcess com.generalrobotix.ui.util.GrxProcessManager.get | ( | int | n | ) | [inline] |
Definition at line 181 of file GrxProcessManager.java.
StringBuffer com.generalrobotix.ui.util.GrxProcessManager.getOutputBuffer | ( | ) | [inline] |
Definition at line 478 of file GrxProcessManager.java.
List<Integer> com.generalrobotix.ui.util.GrxProcessManager.getPID | ( | String | processName | ) | [inline] |
Definition at line 277 of file GrxProcessManager.java.
Definition at line 132 of file GrxProcessManager.java.
Definition at line 124 of file GrxProcessManager.java.
void com.generalrobotix.ui.util.GrxProcessManager.killall | ( | String | pname | ) | [inline, private] |
Definition at line 217 of file GrxProcessManager.java.
String com.generalrobotix.ui.util.GrxProcessManager.psaxGrep | ( | String | str | ) | [inline, private] |
Definition at line 242 of file GrxProcessManager.java.
Definition at line 140 of file GrxProcessManager.java.
void com.generalrobotix.ui.util.GrxProcessManager.restart | ( | IProgressMonitor | monitor | ) | [inline] |
Definition at line 320 of file GrxProcessManager.java.
void com.generalrobotix.ui.util.GrxProcessManager.setOutputBuffer | ( | StringBuffer | sb | ) | [inline] |
Definition at line 482 of file GrxProcessManager.java.
void com.generalrobotix.ui.util.GrxProcessManager.setProcessList | ( | GrxServerManager | serverManager | ) | [inline] |
Definition at line 80 of file GrxProcessManager.java.
void com.generalrobotix.ui.util.GrxProcessManager.setProcessList | ( | IProgressMonitor | monitor | ) | [inline, private] |
Definition at line 86 of file GrxProcessManager.java.
static synchronized void com.generalrobotix.ui.util.GrxProcessManager.shutDown | ( | ) | [inline, static] |
Definition at line 70 of file GrxProcessManager.java.
int com.generalrobotix.ui.util.GrxProcessManager.size | ( | void | ) | [inline] |
Definition at line 188 of file GrxProcessManager.java.
Definition at line 492 of file GrxProcessManager.java.
Definition at line 498 of file GrxProcessManager.java.
Definition at line 486 of file GrxProcessManager.java.
boolean com.generalrobotix.ui.util.GrxProcessManager.unregister | ( | String | id | ) | [inline] |
Definition at line 150 of file GrxProcessManager.java.
void com.generalrobotix.ui.util.GrxProcessManager.updateIO | ( | ) | [inline, private] |
Definition at line 424 of file GrxProcessManager.java.
GrxProcessManager com.generalrobotix.ui.util.GrxProcessManager.GrxProcessManagerThis_ = null [static, private] |
Definition at line 50 of file GrxProcessManager.java.
boolean com.generalrobotix.ui.util.GrxProcessManager.isEnd_ = false [private] |
Definition at line 53 of file GrxProcessManager.java.
SynchronizedAccessor<Boolean> com.generalrobotix.ui.util.GrxProcessManager.isType_ = new SynchronizedAccessor<Boolean>(true) [private] |
Definition at line 54 of file GrxProcessManager.java.
ConcurrentLinkedQueue<String> com.generalrobotix.ui.util.GrxProcessManager.lineQueue = null [private] |
Definition at line 56 of file GrxProcessManager.java.
Definition at line 58 of file GrxProcessManager.java.
StringBuffer com.generalrobotix.ui.util.GrxProcessManager.outputBuffer_ = null [private] |
Definition at line 55 of file GrxProcessManager.java.
java.util.List<AProcess> com.generalrobotix.ui.util.GrxProcessManager.process_ = null [private] |
Definition at line 52 of file GrxProcessManager.java.
Definition at line 59 of file GrxProcessManager.java.
Thread com.generalrobotix.ui.util.GrxProcessManager.thread_ = null [private] |
Definition at line 57 of file GrxProcessManager.java.