goldengate.commandexec.client.test
Class LocalExecClientTest

java.lang.Object
  extended by java.lang.Thread
      extended by goldengate.commandexec.client.test.LocalExecClientTest
All Implemented Interfaces:
Runnable

public class LocalExecClientTest
extends Thread

LocalExec client. This class is an example of client. On a bi-core Centrino2 vPro: 18/s in 50 sequential, 30/s in 10 threads with 50 sequential


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
LocalExecClientTest()
          Simple constructor
 
Method Summary
static void main(String[] args)
          Test & example main
 void run()
          Run method for thread
 void runOnce()
          Run method both for not threaded execution and threaded execution
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalExecClientTest

public LocalExecClientTest()
Simple constructor

Method Detail

main

public static void main(String[] args)
                 throws Exception
Test & example main

Parameters:
args - ignored
Throws:
Exception

run

public void run()
Run method for thread

Specified by:
run in interface Runnable
Overrides:
run in class Thread

runOnce

public void runOnce()
Run method both for not threaded execution and threaded execution



Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.