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

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

public class Browse
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
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Browse(java.lang.String name)
           
 
Method Summary
 void deleteMailByUser(java.sql.Connection conn, java.lang.String thread_name)
           
 void moveToFolders(java.sql.Connection conn, java.lang.String thread_name)
           
 void readInbox(java.sql.Connection conn, java.lang.String thread_name)
           
 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

dbtasks

private DbTasks dbtasks

conn

private java.sql.Connection conn
Constructor Detail

Browse

public Browse(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

readInbox

public void readInbox(java.sql.Connection conn,
                      java.lang.String thread_name)
               throws java.lang.Exception
Throws:
java.lang.Exception

deleteMailByUser

public void deleteMailByUser(java.sql.Connection conn,
                             java.lang.String thread_name)
                      throws java.lang.Exception
Throws:
java.lang.Exception

moveToFolders

public void moveToFolders(java.sql.Connection conn,
                          java.lang.String thread_name)
                   throws java.lang.Exception
Throws:
java.lang.Exception

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.