net.sf.jfilesync.plugins.net.items
Class JSchPluginProxy.JSchWorkerThread

java.lang.Object
  extended by java.lang.Thread
      extended by net.sf.jfilesync.plugins.net.items.JSchPluginProxy.JSchWorkerThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
JSchPluginProxy

static class JSchPluginProxy.JSchWorkerThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private static java.util.logging.Logger LOGGER
           
private  JSchPlugin plugin
           
private  java.lang.Object queueMutex
           
private  boolean running
           
private  java.util.List<JSchPluginProxy.JSchTask> taskQueue
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JSchPluginProxy.JSchWorkerThread(JSchPlugin plugin)
           
 
Method Summary
protected  void processTask(JSchPluginProxy.JSchTask task)
           
 void run()
           
 void startUp()
           
 void submitTask(JSchPluginProxy.JSchTask task)
           
 void tearDown()
           
 
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

plugin

private final JSchPlugin plugin

running

private boolean running

queueMutex

private java.lang.Object queueMutex

taskQueue

private java.util.List<JSchPluginProxy.JSchTask> taskQueue

LOGGER

private static final java.util.logging.Logger LOGGER
Constructor Detail

JSchPluginProxy.JSchWorkerThread

public JSchPluginProxy.JSchWorkerThread(JSchPlugin plugin)
Method Detail

startUp

public void startUp()

tearDown

public void tearDown()

submitTask

public void submitTask(JSchPluginProxy.JSchTask task)

processTask

protected void processTask(JSchPluginProxy.JSchTask task)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread