com.partnersoft.maps.concurrency
Class MapsetRefreshThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.partnersoft.gadgets.LoopingThread
          extended by com.partnersoft.maps.concurrency.MapsetRefreshThread
All Implemented Interfaces:
java.lang.Runnable

public class MapsetRefreshThread
extends LoopingThread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MapsetRefreshThread(MapApp app, java.lang.String mapsetName, Duration duration)
           
 
Method Summary
 void runTask()
          By default, this runs the runnable.
 
Methods inherited from class com.partnersoft.gadgets.LoopingThread
getInterval, getTask, isRunning, pauseLooping, resumeLooping, run, setInterval, setTask, start, stopRunning
 
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, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapsetRefreshThread

public MapsetRefreshThread(MapApp app,
                           java.lang.String mapsetName,
                           Duration duration)
Method Detail

runTask

public void runTask()
             throws java.lang.Exception
Description copied from class: LoopingThread
By default, this runs the runnable. Subclasses may also override it directly (e.g. in anonymous or inner classes). Exceptions will be caught and reported but will stop the thread.

Overrides:
runTask in class LoopingThread
Throws:
java.lang.Exception