net.sf.jfilesync.sync2
Class ConcurrentSyncTreeBuilder
java.lang.Object
java.lang.Thread
net.sf.gnocchi.GWorker
net.sf.jfilesync.sync2.ConcurrentSyncTreeBuilder
- All Implemented Interfaces:
- java.lang.Runnable, net.sf.gnocchi.GWorkerListener, TAbstractGUIElementListener
public class ConcurrentSyncTreeBuilder
- extends net.sf.gnocchi.GWorker
- implements net.sf.gnocchi.GWorkerListener, TAbstractGUIElementListener
| Nested classes/interfaces inherited from class java.lang.Thread |
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Fields inherited from class net.sf.gnocchi.GWorker |
STATE_DIED, STATE_DONE, STATE_INTERRUPTED, STATE_READY, STATE_RUNNING |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Methods inherited from class net.sf.gnocchi.GWorker |
addObserver, cancel, customCancel, getException, getObserver, getWorkerState, hasDied, isCancelled, isDone, isFinished, isRunning, run, setDied |
| 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 |
LOGGER
private static java.util.logging.Logger LOGGER
observer
private final net.sf.gnocchi.GWorkerObserver observer
worker1
private net.sf.gnocchi.GWorker worker1
worker2
private net.sf.gnocchi.GWorker worker2
statsDialog
private SyncTreeBuilderDialog statsDialog
parent
private final java.awt.Component parent
con1
private final AbstractConnectionProxy con1
con2
private final AbstractConnectionProxy con2
path1
private final java.lang.String path1
path2
private final java.lang.String path2
tree1
private SyncTree tree1
tree2
private SyncTree tree2
conDetails1
private final ConnectionDetails conDetails1
conDetails2
private final ConnectionDetails conDetails2
worker1Done
private boolean worker1Done
worker2Done
private boolean worker2Done
settings
private final SyncSettings settings
ConcurrentSyncTreeBuilder
public ConcurrentSyncTreeBuilder(java.awt.Component parent,
int syncID,
AbstractConnectionProxy con1,
java.lang.String path1,
ConnectionDetails conDetails1,
AbstractConnectionProxy con2,
java.lang.String path2,
ConnectionDetails conDetails2)
getSyncID
public int getSyncID()
task
public void task()
throws java.lang.Exception
- Specified by:
task in class net.sf.gnocchi.GWorker
- Throws:
java.lang.Exception
construct
public net.sf.gnocchi.GWorkerEvent construct()
- Specified by:
construct in class net.sf.gnocchi.GWorker
workerDone
public void workerDone(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
workerDone in interface net.sf.gnocchi.GWorkerListener
workerCancelled
public void workerCancelled(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
workerCancelled in interface net.sf.gnocchi.GWorkerListener
workerDied
public void workerDied(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
workerDied in interface net.sf.gnocchi.GWorkerListener
updateModel
public void updateModel(net.sf.gnocchi.GWorkerEvent e)
- Specified by:
updateModel in interface net.sf.gnocchi.GWorkerListener
cancelClicked
public void cancelClicked(TAbstractDialogEvent e)
- Specified by:
cancelClicked in interface TAbstractGUIElementListener