org.davesag.generica.test
Class SiteCopyTest.DbWaitAndSave

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.davesag.generica.test.SiteCopyTest.DbSaveAndWait
          extended byorg.davesag.generica.test.SiteCopyTest.DbWaitAndSave
All Implemented Interfaces:
Runnable
Enclosing class:
SiteCopyTest

protected class SiteCopyTest.DbWaitAndSave
extends SiteCopyTest.DbSaveAndWait

Inner class to assist one of the tests that was tripping over itself by running too fast. this class waits 1.5 seconds before saving the SiteCopy. use join to wait for the thread to complete.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void run()
          waits 1.5 seconds that then saves the site copy
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Method Detail

run

public void run()
waits 1.5 seconds that then saves the site copy

Specified by:
run in interface Runnable
Overrides:
run in class SiteCopyTest.DbSaveAndWait


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.