jgroup.test.performance.arm
Class ReplicatedServer
java.lang.Object
jgroup.test.performance.arm.ReplicatedServer
- All Implemented Interfaces:
- java.rmi.Remote, jgroup.core.ExternalGMIListener, RemoteShutdown, SpeedTest
public class ReplicatedServer
- extends java.lang.Object
- implements SpeedTest, RemoteShutdown
Jgroup server for measuring the performance of GMI invocations and
server recovery time.
- Since:
- Jgroup 1.2
- Author:
- Hein Meling
Method Summary |
static void |
main(java.lang.String[] argv)
|
void |
mtest()
|
byte[] |
mtest(byte[] x)
|
java.lang.String |
mtest(java.lang.String x)
|
void |
preShutdown()
Prepare to shut down the server |
void |
shutdown(int delay)
Shut down the server |
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 |
ReplicatedServer
public ReplicatedServer()
throws jgroup.core.JgroupException
- Throws:
jgroup.core.JgroupException
mtest
@Multicast
public void mtest()
throws java.rmi.RemoteException
- Specified by:
mtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
mtest
@Multicast
public byte[] mtest(byte[] x)
throws java.rmi.RemoteException
- Specified by:
mtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
vmtest
@Multicast
public void vmtest(byte[] x)
throws java.rmi.RemoteException
- Specified by:
vmtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
mtest
@Multicast
public java.lang.String mtest(java.lang.String x)
throws java.rmi.RemoteException
- Specified by:
mtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
test
@Anycast
public void test()
throws java.rmi.RemoteException
- Specified by:
test
in interface SpeedTest
- Throws:
java.rmi.RemoteException
test
@Anycast
public byte[] test(byte[] x)
throws java.rmi.RemoteException
- Specified by:
test
in interface SpeedTest
- Throws:
java.rmi.RemoteException
test
@Anycast
public java.lang.String test(java.lang.String x)
throws java.rmi.RemoteException
- Specified by:
test
in interface SpeedTest
- Throws:
java.rmi.RemoteException
preShutdown
@Multicast
public void preShutdown()
throws java.rmi.RemoteException
- Description copied from interface:
RemoteShutdown
- Prepare to shut down the server
- Specified by:
preShutdown
in interface RemoteShutdown
- Throws:
java.rmi.RemoteException
shutdown
@Anycast
public void shutdown(int delay)
throws java.rmi.RemoteException
- Description copied from interface:
RemoteShutdown
- Shut down the server
- Specified by:
shutdown
in interface RemoteShutdown
- Throws:
java.rmi.RemoteException
main
public static void main(java.lang.String[] argv)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.