jgroup.test.performance
Class RMIClient

java.lang.Object
  extended by java.lang.Thread
      extended by jgroup.test.performance.RMIClient
All Implemented Interfaces:
java.lang.Runnable

public class RMIClient
extends java.lang.Thread

Test for measuring the performance of standard RMI invocations. Can be executed remotely through the Executor class, since it implements the Server interface.

Since:
Jgroup 1.1
Author:
Alberto Montresor

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RMIClient()
          Default constructor, used by the executor service to create a service.
 
Method Summary
 void halt()
          Stop the service associated with this server object.
static void main(java.lang.String[] argv)
          Start client from command line
 void run()
           
 void start(java.lang.Object[] args)
          Start the service associated with this server object.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMIClient

public RMIClient()
Default constructor, used by the executor service to create a service.

Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Start client from command line

Throws:
java.lang.Exception

start

public void start(java.lang.Object[] args)
           throws java.lang.Exception
Start the service associated with this server object.

Throws:
java.lang.Exception

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

halt

public void halt()
Stop the service associated with this server object.



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