xmlBlaster 2.2.0 API

javaclients
Class MultiThreadSequencer

java.lang.Object
  extended by java.lang.Thread
      extended by javaclients.MultiThreadSequencer
All Implemented Interfaces:
java.lang.Runnable

public class MultiThreadSequencer
extends java.lang.Thread

MultiThreadSequencer

Author:
Michele Laghi

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static int COUNT
           
private  Global global
           
private  long initialSleep
           
private  boolean isPublish
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MultiThreadSequencer(boolean isPublish, long initialSleep, java.lang.String[] args)
           
 
Method Summary
static MultiThreadSequencer[] createPublishers(java.lang.String filename)
           
static java.lang.String[] getLineAsArgs(java.lang.String line)
           
static void main(java.lang.String[] args)
           
static java.lang.String[] parseInitialLine(java.lang.String line)
           
 void process()
           
 void run()
           
 
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
 

Field Detail

COUNT

public static int COUNT

isPublish

private boolean isPublish

initialSleep

private long initialSleep

global

private Global global
Constructor Detail

MultiThreadSequencer

public MultiThreadSequencer(boolean isPublish,
                            long initialSleep,
                            java.lang.String[] args)
Method Detail

process

public void process()

run

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

parseInitialLine

public static java.lang.String[] parseInitialLine(java.lang.String line)

getLineAsArgs

public static java.lang.String[] getLineAsArgs(java.lang.String line)

createPublishers

public static MultiThreadSequencer[] createPublishers(java.lang.String filename)
                                               throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.