com.ontimize.util.gis.client.defaultimplementations
Class RequestThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.ontimize.util.gis.client.defaultimplementations.RequestThread
All Implemented Interfaces:
java.lang.Runnable

public class RequestThread
extends java.lang.Thread

Data request thread. This class will be used by the data requests manager assigning one or more
of these threads to each of the existing data layers.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  java.util.Hashtable<java.lang.Object,java.lang.Object> dataRequest
           
protected  java.lang.Object layerKeys
           
(package private)  IGisDataRequestsManager requestsManager
           
protected  boolean shutdown
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RequestThread(java.lang.Object layerKeys, IGisDataRequestsManager requestsManager)
           
 
Method Summary
 void run()
           
 
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

layerKeys

protected java.lang.Object layerKeys

shutdown

protected boolean shutdown

dataRequest

protected java.util.Hashtable<java.lang.Object,java.lang.Object> dataRequest

requestsManager

IGisDataRequestsManager requestsManager
Constructor Detail

RequestThread

public RequestThread(java.lang.Object layerKeys,
                     IGisDataRequestsManager requestsManager)
Method Detail

run

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