com.arjuna.ats.jts.thread
Class OTSThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.arjuna.ats.jts.thread.OTSThread
All Implemented Interfaces:
Runnable

public class OTSThread
extends Thread

Create an OTS transactional thread. When the thread is created it is automatically registered with the current transaction, and removed when the transaction terminates.

Since:
JTS 1.2.4.
Version:
$Id: OTSThread.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark_little@hp.com)

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
protected OTSThread()
           
 
Method Summary
 void run()
           
 void terminate()
           
 
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

OTSThread

protected OTSThread()
Method Detail

terminate

public void terminate()

run

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


Copyright © 2011. All Rights Reserved.