public class SrvComm extends java.rmi.server.UnicastRemoteObject implements SrvCommRemote
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
checkMemory() |
void |
cmd(java.lang.String[] argv) |
void |
disableService(java.lang.String module) |
void |
enableService(java.lang.String module) |
int |
getDBConnFree() |
int |
getDBConnTotal() |
int |
getDBConnUsed() |
java.lang.String[] |
getFreeMemory()
Returns a String array of JVM runtime free memory for this server
|
java.util.Vector |
getGarbageCollectors()
Returns the Managed Runtime Garbage Collector list for the current JVM
|
java.lang.String[] |
getHeapUsage()
Returns the Managed Runtime Memory Bean for the current JVM
|
java.lang.String[] |
getMemory()
Returns a String array of JVM runtime memory for this server
|
int |
getRemoteUsersSize()
Return the remoteUser Hashtable
NOT RUNNING YET |
java.lang.management.RuntimeMXBean |
getRuntimeManagedBean()
Returns the Managed Runtime Bean for the current JVM
|
void |
logger(java.lang.String arg) |
static void |
main(java.lang.String[] argv) |
void |
mboCount(boolean on) |
void |
mboCountOff() |
void |
mboCountOn() |
void |
printUsage() |
java.util.Date |
reloadDBConnections() |
java.util.Date |
restartRegistry() |
void |
serviceOff(java.lang.String arg) |
void |
serviceOn(java.lang.String arg) |
void |
setLoggerLevel(java.lang.String nameValue) |
void |
shutDown() |
void |
shutDown(java.lang.String serviceType) |
void |
stop() |
clone, exportObject, exportObject, exportObject, unexportObjectpublic SrvComm(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic SrvComm()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic java.lang.String checkMemory()
throws java.rmi.RemoteException
checkMemory in interface SrvCommRemotejava.rmi.RemoteExceptionpublic void shutDown()
throws java.rmi.RemoteException
shutDown in interface SrvCommRemotejava.rmi.RemoteExceptionpublic void shutDown(java.lang.String serviceType)
throws java.rmi.RemoteException
shutDown in interface SrvCommRemotejava.rmi.RemoteExceptionpublic java.util.Date reloadDBConnections()
throws java.rmi.RemoteException
reloadDBConnections in interface SrvCommRemotejava.rmi.RemoteExceptionpublic java.util.Date restartRegistry()
throws java.rmi.RemoteException
restartRegistry in interface SrvCommRemotejava.rmi.RemoteExceptionpublic void enableService(java.lang.String module)
throws java.rmi.RemoteException
enableService in interface SrvCommRemotejava.rmi.RemoteExceptionpublic void disableService(java.lang.String module)
throws java.rmi.RemoteException
disableService in interface SrvCommRemotejava.rmi.RemoteExceptionpublic void setLoggerLevel(java.lang.String nameValue)
throws java.rmi.RemoteException
setLoggerLevel in interface SrvCommRemotejava.rmi.RemoteExceptionpublic void mboCount(boolean on)
throws java.rmi.RemoteException
mboCount in interface SrvCommRemotejava.rmi.RemoteExceptionpublic int getRemoteUsersSize()
throws java.rmi.RemoteException
getRemoteUsersSize in interface SrvCommRemotejava.rmi.RemoteExceptionpublic int getDBConnTotal()
throws java.rmi.RemoteException
getDBConnTotal in interface SrvCommRemotejava.rmi.RemoteExceptionpublic int getDBConnUsed()
throws java.rmi.RemoteException
getDBConnUsed in interface SrvCommRemotejava.rmi.RemoteExceptionpublic int getDBConnFree()
throws java.rmi.RemoteException
getDBConnFree in interface SrvCommRemotejava.rmi.RemoteExceptionpublic static void main(java.lang.String[] argv)
public void cmd(java.lang.String[] argv)
public void stop()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void serviceOn(java.lang.String arg)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void serviceOff(java.lang.String arg)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void logger(java.lang.String arg)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void mboCountOn()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void mboCountOff()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void printUsage()
public java.lang.String[] getMemory()
throws java.rmi.RemoteException
getMemory in interface SrvCommRemotejava.rmi.RemoteExceptionpublic java.lang.String[] getFreeMemory()
throws java.rmi.RemoteException
getFreeMemory in interface SrvCommRemotejava.rmi.RemoteExceptionpublic java.lang.management.RuntimeMXBean getRuntimeManagedBean()
throws java.rmi.RemoteException
getRuntimeManagedBean in interface SrvCommRemotejava.rmi.RemoteExceptionpublic java.lang.String[] getHeapUsage()
throws java.rmi.RemoteException
getHeapUsage in interface SrvCommRemotejava.rmi.RemoteExceptionpublic java.util.Vector getGarbageCollectors()
throws java.rmi.RemoteException
getGarbageCollectors in interface SrvCommRemotejava.rmi.RemoteException