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 crawling.NewsCrawler.java

/**
 *
 * @author vishal
 */
public class NewsCrawler implements Runnable {

From source file com.tc.websocket.queue.TempFileMonitor.java

public class TempFileMonitor implements Runnable {

    private static final Logger logger = Logger.getLogger(TempFileMonitor.class.getName());

    public void run() {

From source file org.brekka.stillingar.spring.snapshot.ConfigurationSnapshotRefresher.java

/**
 * Simple adapter class that invokes the {@link SnapshotBasedConfigurationService#refresh()} method via
 * the {@link #run()}, allowing it to be called by scheduling frameworks.
 * 
 * @author Andrew Taylor (andrew@brekka.org)
 */

From source file com.espertech.esper.example.stockticker.SendEventRunnable.java

public class SendEventRunnable implements Runnable {
    private Object eventToSend;
    private EPServiceProvider epService;

    public SendEventRunnable(EPServiceProvider epService, Object eventToSend) {
        this.epService = epService;

From source file org.apache.hadoop.hive.hwi.query.RunningRunner.java

public class RunningRunner implements Runnable {
    protected static final Log l4j = LogFactory.getLog(RunningRunner.class.getName());

    public static enum Progress {
        CONTINUE, EXIT
    };

From source file ClockDemo.java

/**
 * This applet displays the time, and updates it every second
 */
public class ClockDemo extends Applet implements Runnable {
    Label time; // A component to display the time in

From source file projectresurrection.Weather.java

/**
 *
 * @author Onryo
 */
public class Weather implements Runnable {

From source file com.cai.Servo.java

/**
 * This class implements the execution of a servo command. It actually only
 * encapsulates calls to the servoblaster driver.
 * 
 * @author Fabio Silva (silfabio@amazon.com)
 */

From source file org.rifidi.edge.core.sensors.sessions.threads.WriteThread.java

/**
 * Runnable for writing messages to an outputstream.
 * 
 * @author Jochen Mader - jochen@pramari.com
 */
public class WriteThread implements Runnable {

From source file vn.vnpttech.ssdc.nms.threadpool.GwDnsThread.java

/**
 *
 * @author longdq
 */
public class GwDnsThread implements Runnable {