public class RJX_impl extends java.rmi.server.UnicastRemoteObject implements RJX
Modifier and Type | Class and Description |
---|---|
private class |
RJX_impl.Idler |
private class |
RJX_impl.Pinger |
private class |
RJX_impl.ProcessChecker |
private static class |
RJX_impl.VMElement |
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
cmdsep |
private static java.lang.String |
codebase |
private java.util.Hashtable<java.lang.String,VMRegInfo> |
creating |
private static int |
defaultVerbosityWhenSet |
private boolean |
doIdleCheck |
private boolean |
ecLocked |
private boolean |
exiting |
private long |
hostnums |
private java.lang.Object |
idleMutex |
private RJX_impl.Idler |
idler |
private static boolean |
implicitTermination |
(package private) static java.lang.String |
LOCAL_HOST |
(package private) static java.lang.String |
LOCAL_IP |
private static java.lang.String |
localname |
private java.lang.Object |
lockObj |
private static java.lang.String |
name |
(package private) static int |
PING_SLEEP_TIME |
private RJX_impl.Pinger |
pinger |
private static java.lang.String |
policy |
private java.util.Hashtable |
printers |
private static long |
PRINTMILLIS |
private static int |
PRINTNANOS |
private java.util.Vector<java.lang.Process> |
processes |
(package private) OpProxy |
qOpProxy |
private static java.rmi.registry.Registry |
registry |
private static java.lang.String |
remoteVMClass |
private static java.lang.String |
rjjo |
private static java.lang.String |
rjrsh |
private static java.lang.String |
rjsh |
private static java.lang.String |
rjshc |
private boolean |
rjxIdle |
private RemoteLoader |
rl |
private java.lang.Runtime |
rt |
(package private) static long |
serialVersionUID |
private RemoteOutputStream |
stderr |
private RemoteInputStream |
stdin |
private RemoteOutputStream |
stdout |
private static int |
thePort |
private static int |
V_QUIESCENCE_MESSAGE |
private static int |
verbosity |
private static java.util.ResourceBundle |
versionRB |
private java.util.Hashtable<java.lang.String,RJX_impl.VMElement> |
vms |
(package private) static java.lang.String |
wincmdsep |
(package private) static java.lang.String |
windows |
MAX_MISSED
Modifier | Constructor and Description |
---|---|
private |
RJX_impl(RemoteLoader rl) |
Modifier and Type | Method and Description |
---|---|
private void |
checkAllIdle() |
private void |
createMainVM(java.lang.String[] args) |
InLock |
createRemoteLock() |
private VM |
createVM(boolean parameterizedVM,
java.lang.String onHost,
java.lang.String fromHost,
java.lang.String vmType,
java.lang.Class[] vmParamType,
java.lang.Object[] vmParam) |
VM |
createVM(java.lang.String onHost,
java.lang.String fromHost) |
VM |
createVM(java.lang.String onHost,
java.lang.String fromHost,
java.lang.String vmType,
java.lang.Class[] vmParamType,
java.lang.Object[] vmParam) |
VM |
createVM(VM host,
java.lang.String fromHost) |
VM |
createVM(VM host,
java.lang.String fromHost,
java.lang.String vmType,
java.lang.Class[] vmParamType,
java.lang.Object[] vmParam) |
boolean |
destroyVM(java.lang.String host) |
private java.lang.String |
determineActualHost(java.lang.String onHost,
java.lang.String fromHost) |
private java.lang.String |
determineConnectHost(java.lang.String onHost,
java.lang.String fromHost,
java.lang.String rjxHost) |
void |
exit(int exitval) |
java.lang.Class[] |
getParamTypes(java.lang.String host) |
java.lang.Object[] |
getParamValues(java.lang.String host) |
RemoteOutputStream |
getStdErr() |
RemoteInputStream |
getStdIn() |
RemoteOutputStream |
getStdOut() |
void |
hello(java.lang.String host,
VM rjVM,
boolean idle) |
void |
idle(java.lang.String vmName) |
void |
lockEC() |
static void |
main(java.lang.String[] args) |
void |
notIdle(java.lang.String vmName) |
void |
ping() |
void |
registerQuiescenceAction(OpProxy opProxy) |
void |
unlockEC() |
clone, exportObject, exportObject, exportObject, unexportObject
static final long serialVersionUID
private static int thePort
private static java.rmi.registry.Registry registry
private static long PRINTMILLIS
private static int PRINTNANOS
private long hostnums
private java.lang.Runtime rt
private java.util.Hashtable<java.lang.String,VMRegInfo> creating
private java.util.Hashtable<java.lang.String,RJX_impl.VMElement> vms
private java.util.Hashtable printers
private boolean exiting
private java.util.Vector<java.lang.Process> processes
private static java.lang.String name
private static java.lang.String localname
private static java.lang.String codebase
private static java.lang.String policy
private static java.lang.String rjrsh
private static java.lang.String rjsh
private static java.lang.String rjshc
private static java.lang.String rjjo
private static java.lang.String remoteVMClass
private RemoteOutputStream stdout
private RemoteOutputStream stderr
private RemoteInputStream stdin
private RemoteLoader rl
private RJX_impl.Pinger pinger
private RJX_impl.Idler idler
private java.lang.Object idleMutex
private static boolean implicitTermination
private static int verbosity
private static final int defaultVerbosityWhenSet
private static final int V_QUIESCENCE_MESSAGE
static final int PING_SLEEP_TIME
static final java.lang.String windows
static final java.lang.String wincmdsep
static java.lang.String cmdsep
static final java.lang.String LOCAL_HOST
static final java.lang.String LOCAL_IP
private static java.util.ResourceBundle versionRB
private boolean ecLocked
private java.lang.Object lockObj
private boolean doIdleCheck
private boolean rjxIdle
OpProxy qOpProxy
private RJX_impl(RemoteLoader rl) throws java.rmi.RemoteException
java.rmi.RemoteException
public VM createVM(java.lang.String onHost, java.lang.String fromHost) throws java.rmi.RemoteException
public VM createVM(java.lang.String onHost, java.lang.String fromHost, java.lang.String vmType, java.lang.Class[] vmParamType, java.lang.Object[] vmParam) throws java.rmi.RemoteException
private VM createVM(boolean parameterizedVM, java.lang.String onHost, java.lang.String fromHost, java.lang.String vmType, java.lang.Class[] vmParamType, java.lang.Object[] vmParam) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.Object[] getParamValues(java.lang.String host) throws java.rmi.RemoteException
getParamValues
in interface RJX
java.rmi.RemoteException
public java.lang.Class[] getParamTypes(java.lang.String host) throws java.rmi.RemoteException
getParamTypes
in interface RJX
java.rmi.RemoteException
private java.lang.String determineConnectHost(java.lang.String onHost, java.lang.String fromHost, java.lang.String rjxHost)
private java.lang.String determineActualHost(java.lang.String onHost, java.lang.String fromHost)
public VM createVM(VM host, java.lang.String fromHost, java.lang.String vmType, java.lang.Class[] vmParamType, java.lang.Object[] vmParam) throws java.rmi.RemoteException
public void hello(java.lang.String host, VM rjVM, boolean idle) throws java.rmi.RemoteException
public boolean destroyVM(java.lang.String host) throws java.rmi.RemoteException
public void exit(int exitval) throws java.rmi.RemoteException
private void createMainVM(java.lang.String[] args) throws java.rmi.RemoteException
java.rmi.RemoteException
public static void main(java.lang.String[] args)
public RemoteOutputStream getStdOut() throws java.rmi.RemoteException
public RemoteOutputStream getStdErr() throws java.rmi.RemoteException
public RemoteInputStream getStdIn() throws java.rmi.RemoteException
public InLock createRemoteLock() throws java.rmi.RemoteException
createRemoteLock
in interface RJX
java.rmi.RemoteException
public void lockEC() throws java.rmi.RemoteException
public void unlockEC() throws java.rmi.RemoteException
public void ping() throws java.rmi.RemoteException
public void idle(java.lang.String vmName) throws java.rmi.RemoteException
public void notIdle(java.lang.String vmName) throws java.rmi.RemoteException
private void checkAllIdle()
public void registerQuiescenceAction(OpProxy opProxy) throws java.rmi.RemoteException, QuiescenceRegistrationException
registerQuiescenceAction
in interface RJX
java.rmi.RemoteException
QuiescenceRegistrationException