net.sf.dc.processes
Class DataTask

java.lang.Object
  extended by java.lang.Thread
      extended by net.sf.dc.processes.DataTask
All Implemented Interfaces:
java.lang.Runnable

public class DataTask
extends java.lang.Thread

Simple thread used for save, delete and update jobs

Since:
1.4
Version:
1.5
Author:
Robert Jan van der Waals

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  java.lang.Class clazz
           
protected  int[] rows
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DataTask(int[] rows, java.lang.Class clazz)
           
 
Method Summary
 void cancel()
           
 boolean isRunning()
           
 boolean keepOnRunning()
           
 void startRunning()
           
 void stopRunning()
           
 
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, run, 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

clazz

protected final java.lang.Class clazz

rows

protected int[] rows
Constructor Detail

DataTask

public DataTask(int[] rows,
                java.lang.Class clazz)
Method Detail

cancel

public void cancel()

stopRunning

public void stopRunning()

startRunning

public void startRunning()

isRunning

public boolean isRunning()

keepOnRunning

public boolean keepOnRunning()