com.sun.grizzly.http
Class HttpWorkerThread
java.lang.Object
java.lang.Thread
com.sun.grizzly.util.WorkerThread
com.sun.grizzly.util.WorkerThreadImpl
com.sun.grizzly.http.HttpWorkerThread
- All Implemented Interfaces:
- Runnable
public class HttpWorkerThread
- extends WorkerThreadImpl
Specialized WorkerThread.
- Author:
- Jeanfrancois Arcand
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 |
HttpWorkerThread
public HttpWorkerThread(ThreadGroup threadGroup,
Runnable runnable)
- Create a Thread that will synchronizes/block on
Pipeline
instance.
- Parameters:
threadGroup
- ThreadGroup
runnable
- Runnable
HttpWorkerThread
public HttpWorkerThread(Pipeline<Callable> pipeline,
String name)
- Create a Thread that will synchronizes/block on
Pipeline
instance.
- Parameters:
pipeline
- Pipeline
name
- String
getStreamAlgorithm
public StreamAlgorithm getStreamAlgorithm()
setStreamAlgorithm
public void setStreamAlgorithm(StreamAlgorithm streamAlgorithm)
getInputStream
public ByteBufferInputStream getInputStream()
setInputStream
public void setInputStream(ByteBufferInputStream inputStream)
getProcessorTask
public ProcessorTask getProcessorTask()
setProcessorTask
public void setProcessorTask(ProcessorTask processorTask)
Copyright © 2011 SUN Microsystems. All Rights Reserved.