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 MainClass.java

class StuffThread extends Thread {
    private byte[] data = new byte[255];

    private Socket socket;

    public StuffThread(Socket socket) {

From source file kilim.WorkerThread.java

public class WorkerThread extends Thread {
    private static final Log log = Log4jUtil.getLog(WorkerThread.class);
    volatile Task runningTask;
    /**
     * A list of tasks that prefer to run only on this thread. This is used by kilim.ReentrantLock and Task to ensure
     * that lock.release() is done on the same thread as lock.acquire()

From source file Main.java

class Consumer extends Thread {
    String name;

    public Consumer(String name) {
        this.name = name;
    }

From source file net.pandoragames.far.ui.FileSearchThread.java

/**
 * Executes {@link net.pandoragames.far.FileSelector#listFiles(Pattern, File) FileSelector.listFiles()}
 * in a thread on its own. This class is used internally by {@link UIBean UIBean}.
 * @author Olivier Wehner at 07.03.2008
 * <!--
 *  FAR - Find And Replace

From source file org.sipfoundry.sipxconfig.common.LazyDaemon.java

/**
 * Daemon thread that sleeps most of the time in waitForWork method. When there is something to be
 * do it wakes up, sleeps some more and then does it.
 */
public abstract class LazyDaemon extends Thread {
    public static final Log LOG = LogFactory.getLog(LazyDaemon.class);

From source file net.minewriter.StatThread.java

public class StatThread extends Thread {

    MWStats mw;
    private List<Book> localLibrary = new ArrayList<Book>();
    private List<Stat> stats = new ArrayList<Stat>();

From source file pl.chilldev.commons.daemon.lifecycle.Shutdown.java

/**
 * Handles application shutdown.
 */
public class Shutdown extends Thread {
    /**
     * Logger.

From source file Cache.Cache3.java

/**
 * @author Xiao
 */
public class Cache3 extends Thread {

    //int numHilo; // Atributos

From source file Cache.Cache2.java

/**
 * @author Xiao
 */
public class Cache2 extends Thread {

    //int numHilo; // Atributos

From source file Engine.Forces.ForceCalculatorWorker.java

/**
 *
 * @author STUDENT
 */
public class ForceCalculatorWorker extends Thread {
    ForceCalculator forceCalculator = null;