Example usage for java.lang Thread subclass-usage

List of usage examples for java.lang Thread subclass-usage

Introduction

In this page you can find the example usage for java.lang Thread subclass-usage.

Usage

From source file com.francisli.processing.http.HttpRequest.java

/** 
 * <p>An HttpRequest object represents a single HTTP request to a server.  Each
 * request is dispatched in its own background thread and is passed along with
 * its response in the responseReceived() callback.</p>
 * 
 * @author Francis Li

From source file org.lwes.listener.ThreadedEventDispatcher.java

/**
 * Dispatches events to downstream handlers using threads.
 * @author Preston Pfarner
 * @author Michael P. Lum
 */
public class ThreadedEventDispatcher extends Thread {

From source file org.wso2.carbon.membership.scheme.kubernetes.tcpforwarder.TCPForwardServer.java

/**
 * This code is extracted from
 * "http://www.nakov.com/books/inetjava/source-code-html/Chapter-1-Sockets/1.4-TCP-Sockets/TCPForwardServer.java.html"
 * TCPForwardServer is a simple TCP bridging code that
 * allows a TCP port on some host to be transparently forwarded
 * to some other TCP port on some other host. TCPForwardServer

From source file org.jibble.pircbot.InputThread.java

/**
 * A Thread which reads lines from the IRC server.  It then
 * passes these lines to the PircBot without changing them.
 * This running Thread also detects disconnection from the server
 * and is thus used by the OutputThread to send lines to the server.
 *

From source file org.mnode.coucou.SessionLogout.java

/**
 * @author Ben
 *
 */
public class SessionLogout extends Thread {

From source file ca.wumbo.doommanager.util.ShutdownHook.java

/**
 * A custom shutdown hook is needed because Spring needs to be shutdown before
 * Log4J2. Since Log4j uses it's own shutdown hook, this can run at any time
 * and not guarantee proper logging on shutdown. The solution then was to use
 * my own shutdown hook which will terminate Spring, followed by Log4j at the
 * end.

From source file httpscheduler.LateBindingRequestListenerThread.java

/**
 *
 * @author anantoni
 */
public class LateBindingRequestListenerThread extends Thread {
    private final HttpConnectionFactory<DefaultBHttpServerConnection> connFactory;

From source file com.android.volley.NetworkDispatcher.java

/**
 * Provides a thread for performing network dispatch from a queue of requests.
 *
 * Requests added to the specified queue are processed from the network via a
 * specified {@link Network} interface. Responses are committed to cache, if
 * eligible, using a specified {@link Cache} interface. Valid responses and

From source file com.datasalt.pangool.solr.HeartBeater.java

/**
 * This class runs a background thread that once ever 5 seconds checks to see if a progress report is needed. If a
 * report is needed it is issued.
 * 
 * A simple counter {@link #threadsNeedingHeartBeat} handles the number of threads requesting a heart beat.
 * 

From source file org.zilverline.util.StreamGobbler.java

/**
 * Utility class (a Thread) for getting Stream output from running process. Used in Runtime.exec(). Copied from
 * http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
 * 
 * @author Michael Daconta
 * @version $Revision: 1.11 $