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, unexportObject
public SrvComm(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteException
public SrvComm() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String checkMemory() throws java.rmi.RemoteException
checkMemory
in interface SrvCommRemote
java.rmi.RemoteException
public void shutDown() throws java.rmi.RemoteException
shutDown
in interface SrvCommRemote
java.rmi.RemoteException
public void shutDown(java.lang.String serviceType) throws java.rmi.RemoteException
shutDown
in interface SrvCommRemote
java.rmi.RemoteException
public java.util.Date reloadDBConnections() throws java.rmi.RemoteException
reloadDBConnections
in interface SrvCommRemote
java.rmi.RemoteException
public java.util.Date restartRegistry() throws java.rmi.RemoteException
restartRegistry
in interface SrvCommRemote
java.rmi.RemoteException
public void enableService(java.lang.String module) throws java.rmi.RemoteException
enableService
in interface SrvCommRemote
java.rmi.RemoteException
public void disableService(java.lang.String module) throws java.rmi.RemoteException
disableService
in interface SrvCommRemote
java.rmi.RemoteException
public void setLoggerLevel(java.lang.String nameValue) throws java.rmi.RemoteException
setLoggerLevel
in interface SrvCommRemote
java.rmi.RemoteException
public void mboCount(boolean on) throws java.rmi.RemoteException
mboCount
in interface SrvCommRemote
java.rmi.RemoteException
public int getRemoteUsersSize() throws java.rmi.RemoteException
getRemoteUsersSize
in interface SrvCommRemote
java.rmi.RemoteException
public int getDBConnTotal() throws java.rmi.RemoteException
getDBConnTotal
in interface SrvCommRemote
java.rmi.RemoteException
public int getDBConnUsed() throws java.rmi.RemoteException
getDBConnUsed
in interface SrvCommRemote
java.rmi.RemoteException
public int getDBConnFree() throws java.rmi.RemoteException
getDBConnFree
in interface SrvCommRemote
java.rmi.RemoteException
public static void main(java.lang.String[] argv)
public void cmd(java.lang.String[] argv)
public void stop() throws java.rmi.RemoteException
java.rmi.RemoteException
public void serviceOn(java.lang.String arg) throws java.rmi.RemoteException
java.rmi.RemoteException
public void serviceOff(java.lang.String arg) throws java.rmi.RemoteException
java.rmi.RemoteException
public void logger(java.lang.String arg) throws java.rmi.RemoteException
java.rmi.RemoteException
public void mboCountOn() throws java.rmi.RemoteException
java.rmi.RemoteException
public void mboCountOff() throws java.rmi.RemoteException
java.rmi.RemoteException
public void printUsage()
public java.lang.String[] getMemory() throws java.rmi.RemoteException
getMemory
in interface SrvCommRemote
java.rmi.RemoteException
public java.lang.String[] getFreeMemory() throws java.rmi.RemoteException
getFreeMemory
in interface SrvCommRemote
java.rmi.RemoteException
public java.lang.management.RuntimeMXBean getRuntimeManagedBean() throws java.rmi.RemoteException
getRuntimeManagedBean
in interface SrvCommRemote
java.rmi.RemoteException
public java.lang.String[] getHeapUsage() throws java.rmi.RemoteException
getHeapUsage
in interface SrvCommRemote
java.rmi.RemoteException
public java.util.Vector getGarbageCollectors() throws java.rmi.RemoteException
getGarbageCollectors
in interface SrvCommRemote
java.rmi.RemoteException