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 net.wastl.webmail.server.ConnectionTimer.java

/**
 * @author Sebastian Schaffert
 */
public class ConnectionTimer extends Thread {
    /* TODO:  One of these thread remains running after a webapp shutdown.
     * Fix that! */

From source file crawler.java.edu.uci.ics.crawler4j.fetcher.IdleConnectionMonitorThread.java

public class IdleConnectionMonitorThread extends Thread {

    private final PoolingHttpClientConnectionManager connMgr;
    private volatile boolean shutdown;

    public IdleConnectionMonitorThread(PoolingHttpClientConnectionManager connMgr) {

From source file com.mindcognition.mindraider.utils.FileLoader.java

/**
 * Load file to text area.
 */
public class FileLoader extends Thread {
    private static final Logger logger = Logger.getLogger(FileLoader.class);

From source file gridool.util.io.FileDeletionThread.java

/**
 * 
 * <DIV lang="en">
 * The following options are required to enable setting priority.
 * -XX:+UseThreadPriorities
 * -XX:ThreadPriorityPolicy=42

From source file org.wso2.carbon.esb.ui.test.util.WireMonitor.java

class WireMonitor extends Thread {
    private Log log = LogFactory.getLog(WireMonitor.class);
    private static final int TIMEOUT_VALUE = 30000;
    private int port;
    private ServerSocket providerSocket;
    private Socket connection = null;

From source file com.liferay.util.transport.MulticastTransport.java

/**
 * <p>
 * The MulticastTransport will send strings across a specified multicast
 * address. It will also listen for messages and hand them to the appropriate
 * DatagramHandler.
 * </p>

From source file org.eu.gasp.core.bootstrap.BootstrapThread.java

/**
 * Bootstrap thread.
 */
public class BootstrapThread extends Thread {
    private final Log log = LogFactory.getLog(getClass());
    private final Bootstrap bootstrap;

From source file uk.co.modularaudio.util.thread.AbstractInterruptableThread.java

public abstract class AbstractInterruptableThread extends Thread implements InterruptableJob {
    private static Log log = LogFactory.getLog(AbstractInterruptableThread.class.getName());

    protected volatile boolean shouldHalt = false; // NOPMD by dan on 31/01/15 16:34

    protected MAThreadPriority threadPriority = null;

From source file pt.lunacloud.http.IdleConnectionReaper.java

/**
 * Daemon thread to periodically check connection pools for idle connections.
 * <p>
 * Connections sitting around idle in the HTTP connection pool for too long will
 * eventually be terminated by the AWS end of the connection, and will go into
 * CLOSE_WAIT. If this happens, sockets will sit around in CLOSE_WAIT, still

From source file com.yahoo.omid.tso.ThroughputMonitor.java

/**
 * Class for Throughput Monitoring
 *
 */
public class ThroughputMonitor extends Thread {
    private static final Log LOG = LogFactory.getLog(ThroughputMonitor.class);