|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.sf.jfilesync.engine.FileTransfer2.FileProgressObserver
class FileTransfer2.FileProgressObserver
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
private long |
byteCache
|
private int |
copySteps
|
private int |
currentStep
|
private long |
fileSize
|
private boolean |
observe
|
private FileTransfer2.FileCopyStatistics |
statistics
|
private CopyStatusStream |
stream
|
private boolean |
working
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
FileTransfer2.FileProgressObserver(FileTransfer2.FileCopyStatistics statistics)
|
|
| Method Summary | |
|---|---|
void |
run()
|
void |
setCopySteps(int steps)
|
void |
shutdown()
|
void |
startObservingStream(CopyStatusStream stream,
long fileSize)
|
void |
stopObservingChannel()
|
| 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 boolean working
private boolean observe
private CopyStatusStream stream
private long fileSize
private final FileTransfer2.FileCopyStatistics statistics
private int copySteps
private int currentStep
private long byteCache
| Constructor Detail |
|---|
FileTransfer2.FileProgressObserver(FileTransfer2.FileCopyStatistics statistics)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
public void startObservingStream(CopyStatusStream stream,
long fileSize)
public void stopObservingChannel()
public void shutdown()
public void setCopySteps(int steps)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||