org.apache.derbyTesting.system.mailjdbc.tasks
Class Backup

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.derbyTesting.system.mailjdbc.tasks.Backup
All Implemented Interfaces:
java.lang.Runnable

public class Backup
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  java.sql.Connection conn
           
private  DbTasks dbtasks
           
private  boolean isRunning
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Backup(java.lang.String name)
           
 
Method Summary
 void DoBackup()
           
 void DoCompress()
           
private  void doWork()
           
 boolean isRunning()
           
 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

isRunning

private boolean isRunning

dbtasks

private DbTasks dbtasks

conn

private java.sql.Connection conn
Constructor Detail

Backup

public Backup(java.lang.String name)
       throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

run

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

doWork

private void doWork()

DoCompress

public void DoCompress()
                throws java.lang.Exception
Throws:
java.lang.Exception

DoBackup

public void DoBackup()
              throws java.lang.Exception
Throws:
java.lang.Exception

isRunning

public boolean isRunning()

Built on Sat 2009-11-28 18:44:18-0800, from revision 885187

Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.