org.hd.d.pg2k.clApp.uploader
Class UploaderLogic.UploaderWorkerThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.hd.d.pg2k.clApp.uploader.UploaderLogic.UploaderWorkerThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
UploaderLogic

private final class UploaderLogic.UploaderWorkerThread
extends java.lang.Thread

Uploader worker thread. Private to this class.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  int index
          Index of this worker thread.
private static int WORKER_SLEEP_MS
          Time an idle worker sleeps for in ms; strictly positive.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
UploaderLogic.UploaderWorkerThread(int index)
           
 
Method Summary
 void run()
          Do any uploading; sleep when nothing to do.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

final int index
Index of this worker thread.


WORKER_SLEEP_MS

private static final int WORKER_SLEEP_MS
Time an idle worker sleeps for in ms; strictly positive.

See Also:
Constant Field Values
Constructor Detail

UploaderLogic.UploaderWorkerThread

UploaderLogic.UploaderWorkerThread(int index)
Method Detail

run

public void run()
Do any uploading; sleep when nothing to do.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

DHD Multimedia Gallery V1.60.69

Copyright (c) 1996-2012, Damon Hart-Davis. All rights reserved.