jgroup.test.performance
Class SpeedTestServer

java.lang.Object
  extended by jgroup.test.performance.SpeedTestServer
All Implemented Interfaces:
java.rmi.Remote, jgroup.core.ExternalGMIListener, jgroup.core.MembershipListener, SpeedTest

public class SpeedTestServer
extends java.lang.Object
implements SpeedTest, jgroup.core.MembershipListener

Jgroup server for measuring the performance of GMI invocations.

Since:
Jgroup 1.1
Author:
Alberto Montresor

Nested Class Summary
 
Nested classes/interfaces inherited from interface jgroup.core.MembershipListener
jgroup.core.MembershipListener.AllowDuplicateViews
 
Constructor Summary
SpeedTestServer()
           
 
Method Summary
 void hasLeft()
           
static void main(java.lang.String[] argv)
           
 void mtest()
           
 byte[] mtest(byte[] x)
           
 java.lang.String mtest(java.lang.String x)
           
 void prepareChange()
           
 void shutdown()
          Shut down the server
 void start()
           
 void test()
           
 byte[] test(byte[] x)
           
 java.lang.String test(java.lang.String x)
           
 void viewChange(jgroup.core.View v)
           
 void vmtest(byte[] x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpeedTestServer

public SpeedTestServer()
Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Throws:
java.lang.Exception

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

shutdown

public void shutdown()
              throws java.rmi.RemoteException
Shut down the server

Throws:
java.rmi.RemoteException

viewChange

public void viewChange(jgroup.core.View v)
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


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.