|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjgroup.test.performance.RMIServer
public class RMIServer
RMI server for measuring the performance of standard RMI invocations.
Can be executed remotely through the
Constructor Summary | |
---|---|
RMIServer()
Export the server; create a local registry in order to bind the server. |
Method Summary | |
---|---|
void |
halt()
Initialization; nothing to do |
static void |
main(java.lang.String[] argv)
Start server from command line |
void |
mtest()
|
byte[] |
mtest(byte[] x)
|
java.lang.String |
mtest(java.lang.String x)
|
void |
shutdown()
Shut down the server |
void |
start(java.lang.Object[] args)
Initialization; nothing to do |
void |
test()
|
byte[] |
test(byte[] x)
|
java.lang.String |
test(java.lang.String x)
|
void |
vmtest(byte[] x)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMIServer() throws java.rmi.RemoteException, jgroup.core.JgroupException, java.io.IOException
java.rmi.RemoteException
jgroup.core.JgroupException
java.io.IOException
Method Detail |
---|
public static void main(java.lang.String[] argv) throws java.lang.Exception
java.lang.Exception
public void start(java.lang.Object[] args) throws java.lang.Exception
java.lang.Exception
public void halt() throws java.lang.Exception
java.lang.Exception
public void test() throws java.rmi.RemoteException
test
in interface SpeedTest
java.rmi.RemoteException
public byte[] test(byte[] x) throws java.rmi.RemoteException
test
in interface SpeedTest
java.rmi.RemoteException
public java.lang.String test(java.lang.String x) throws java.rmi.RemoteException
test
in interface SpeedTest
java.rmi.RemoteException
public void mtest() throws java.rmi.RemoteException
mtest
in interface SpeedTest
java.rmi.RemoteException
public byte[] mtest(byte[] x) throws java.rmi.RemoteException
mtest
in interface SpeedTest
java.rmi.RemoteException
public void vmtest(byte[] x) throws java.rmi.RemoteException
vmtest
in interface SpeedTest
java.rmi.RemoteException
public java.lang.String mtest(java.lang.String x) throws java.rmi.RemoteException
mtest
in interface SpeedTest
java.rmi.RemoteException
public void shutdown() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |