railo.runtime.thread
Class ChildThreadImpl

java.lang.Object
  extended by java.lang.Thread
      extended by railo.runtime.thread.ChildThread
          extended by railo.runtime.thread.ChildThreadImpl
All Implemented Interfaces:
Serializable, Runnable

public class ChildThreadImpl
extends ChildThread
implements Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ChildThreadImpl(PageContextImpl parent, Page page, String tagName, int threadIndex, Struct attrs, boolean serializable)
           
 
Method Summary
 PageException execute(Config config)
           
 PageContext getPageContext()
           
 long getStartTime()
           
 String getTagName()
           
 String getTemplate()
           
 Threads getThreadScope()
           
 void run()
           
 void terminated()
          this method is invoked when thread is terminated by user interaction
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChildThreadImpl

public ChildThreadImpl(PageContextImpl parent,
                       Page page,
                       String tagName,
                       int threadIndex,
                       Struct attrs,
                       boolean serializable)
Method Detail

getPageContext

public PageContext getPageContext()

run

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

execute

public PageException execute(Config config)

getTagName

public String getTagName()
Specified by:
getTagName in class ChildThread
See Also:
ChildThread.getTagName()

getStartTime

public long getStartTime()
Specified by:
getStartTime in class ChildThread
See Also:
ChildThread.getStartTime()

getThreadScope

public Threads getThreadScope()
See Also:
railo.runtime.thread.ChildThread#getThreadScope()

terminated

public void terminated()
Description copied from class: ChildThread
this method is invoked when thread is terminated by user interaction

Specified by:
terminated in class ChildThread

getTemplate

public String getTemplate()
Returns:
the pageSource


Copyright © 2012 Railo