jgroup.test.performance
Class PerformanceServer
java.lang.Object
jgroup.test.performance.PerformanceServer
- All Implemented Interfaces:
- java.rmi.Remote, jgroup.core.ExternalGMIListener, jgroup.core.MembershipListener, RemoteShutdown, SpeedTest
public class PerformanceServer
- extends java.lang.Object
- implements SpeedTest, RemoteShutdown, jgroup.core.MembershipListener
Jgroup server for measuring the performance of GMI invocations.
- Since:
- Jgroup 1.2
- Author:
- Alberto Montresor, Hein Meling
Nested classes/interfaces inherited from interface jgroup.core.MembershipListener |
jgroup.core.MembershipListener.AllowDuplicateViews |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerformanceServer
public PerformanceServer()
throws jgroup.core.JgroupException
- Throws:
jgroup.core.JgroupException
mtest
public void mtest()
throws java.rmi.RemoteException
- Specified by:
mtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
mtest
public byte[] mtest(byte[] x)
throws java.rmi.RemoteException
- Specified by:
mtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
vmtest
public void vmtest(byte[] x)
throws java.rmi.RemoteException
- Specified by:
vmtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
mtest
public java.lang.String mtest(java.lang.String x)
throws java.rmi.RemoteException
- Specified by:
mtest
in interface SpeedTest
- Throws:
java.rmi.RemoteException
test
public void test()
throws java.rmi.RemoteException
- Specified by:
test
in interface SpeedTest
- Throws:
java.rmi.RemoteException
test
public byte[] test(byte[] x)
throws java.rmi.RemoteException
- Specified by:
test
in interface SpeedTest
- Throws:
java.rmi.RemoteException
test
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
viewChange
public void viewChange(jgroup.core.View view)
- Specified by:
viewChange
in interface jgroup.core.MembershipListener
hasLeft
public void hasLeft()
- Specified by:
hasLeft
in interface jgroup.core.MembershipListener
prepareChange
public void prepareChange()
- Specified by:
prepareChange
in interface jgroup.core.MembershipListener
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.