Example usage for java.lang Runnable interface-usage

List of usage examples for java.lang Runnable interface-usage

Introduction

In this page you can find the example usage for java.lang Runnable interface-usage.

Usage

From source file copter.HCSR04.java

public class HCSR04 implements Runnable {

    private static HCSR04 instance = null;
    private Logger logger = null;
    private Thread thread = null;
    private GpioPinDigitalOutput trigger;

From source file br.com.estudogrupo.online.DicionarioOnline04.java

/**
 *
 * @author higor
 */
public class DicionarioOnline04 implements Runnable {

From source file Queue.java

class Producer implements Runnable {
    Queue q;

    Producer(Queue q) {
        this.q = q;
        new Thread(this, "Producer").start();

From source file httpscheduler.JobSubmitThread.java

/**
 *
 * @author anantoni
 */
public class JobSubmitThread implements Runnable {
    private final Job job;

From source file net.kenblair.scheduler.entity.Schedulable.java

/**
 * A bean that may be run on a schedule.
 * <p/>
 * Beans will have {@link #configure(ScheduledJob, Configuration)} called exactly once, followed by zero or more
 * invocations of {@link #run()} on the specified schedule.  If a job is canceled or the scheduler is shutdown then
 * {@link #cancel()} will be called exactly once. If a job changes in such a way that a bean must be reconfigured it

From source file org.mule.transport.http.functional.MockHttpServer.java

public abstract class MockHttpServer extends Object implements Runnable {

    private static final long MOCK_HTTP_SERVER_TIMEOUT = 10000;

    public static final String HTTP_STATUS_LINE_OK = "HTTP/1.1 200 OK\n";

From source file ThreadTester.java

class Producer implements Runnable {
    private String greeting;
    private SynchronizedQueue<String> queue;

    private int greetingCount;

From source file com.ksc.http.timers.client.ClientExecutionAbortTask.java

/**
 * Task to be scheduled by {@link ClientExecutionTimer}
 */
@SdkInternalApi
public interface ClientExecutionAbortTask extends Runnable {

From source file com.butler.service.PushNotifier.java

/**
 *
 * @author arsh
 */
public class PushNotifier implements Runnable {

From source file ar.com.zauber.commons.dao.ClosureProcessorRunnable.java

/**
 * Enables to run a {@link ClosureProcessor} as a {@link Runnable}. 
 * 
 * @author Juan F. Codagnone
 * @since Jun 19, 2009
 * @param <T> Closure's entity class