|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.sf.gnocchi.GWorker
net.sf.jfilesync.service.unify.worker.UnifyMovePerformer
public class UnifyMovePerformer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
private int |
actionNum
|
private int |
actionsDone
|
private AbstractConnectionProxy |
con
|
private net.sf.gnocchi.GWorkerObserver |
observer
|
private UnifyMoveOption |
option
|
| 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 |
| Constructor Summary | |
|---|---|
UnifyMovePerformer(AbstractConnectionProxy con,
UnifyMoveOption option)
|
|
| Method Summary | |
|---|---|
net.sf.gnocchi.GWorkerEvent |
construct()
|
void |
finishCopying(java.lang.String filename)
|
private int |
getProgressPercentage()
|
void |
startCopying(java.lang.String filename)
|
void |
task()
|
void |
updateModel(net.sf.gnocchi.GWorkerEvent e)
|
void |
workerCancelled(net.sf.gnocchi.GWorkerEvent e)
|
void |
workerDied(net.sf.gnocchi.GWorkerEvent e)
|
void |
workerDone(net.sf.gnocchi.GWorkerEvent e)
|
| 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 |
| Field Detail |
|---|
private final UnifyMoveOption option
private final AbstractConnectionProxy con
private final net.sf.gnocchi.GWorkerObserver observer
private int actionNum
private int actionsDone
| Constructor Detail |
|---|
public UnifyMovePerformer(AbstractConnectionProxy con,
UnifyMoveOption option)
| Method Detail |
|---|
public net.sf.gnocchi.GWorkerEvent construct()
construct in class net.sf.gnocchi.GWorker
public void task()
throws java.lang.Exception
task in class net.sf.gnocchi.GWorkerjava.lang.Exceptionpublic void finishCopying(java.lang.String filename)
finishCopying in interface FileCopyListenerpublic void startCopying(java.lang.String filename)
startCopying in interface FileCopyListenerprivate int getProgressPercentage()
public void updateModel(net.sf.gnocchi.GWorkerEvent e)
updateModel in interface net.sf.gnocchi.GWorkerListenerpublic void workerCancelled(net.sf.gnocchi.GWorkerEvent e)
workerCancelled in interface net.sf.gnocchi.GWorkerListenerpublic void workerDied(net.sf.gnocchi.GWorkerEvent e)
workerDied in interface net.sf.gnocchi.GWorkerListenerpublic void workerDone(net.sf.gnocchi.GWorkerEvent e)
workerDone in interface net.sf.gnocchi.GWorkerListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||