Example usage for java.util TimerTask subclass-usage

List of usage examples for java.util TimerTask subclass-usage

Introduction

In this page you can find the example usage for java.util TimerTask subclass-usage.

Usage

From source file com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerTimerTask.java

/**
 * TimerTasks that are created from a GerritTrigger and periodically calls
 * GerritTrigger.updateTriggerConfigURL().
 *
 * @author Fredrik Abrahamson <fredrik.abrahamson@sonymobile.com>
 */

From source file org.oscarehr.threads.WaitListEmailThread.java

public class WaitListEmailThread extends TimerTask {
    private static final Logger logger = MiscUtils.getLogger();

    private static Timer timer = new Timer("WaitListEmailThread Timer", true);

    private static TimerTask timerTask = null;

From source file com.haoocai.jscheduler.core.tracker.ZKTaskTracker.java

/**
 * Task Tracker with Zookeeper Implementation
 * <p>
 * Every single task should have its own task tracker, they are one-to-one relationship.
 * Task tracker is responsible for calculation the task next run time point, and choose
 * one scheduler unit for the task.

From source file org.ohmage.cache.UserBin.java

/**
 * User storage. User objects are mapped to unique ids. Avoids dependencies on
 * JEE session management. The lifetime param set on construction controls how
 * long User objects stay active.
 * 
 * @author Joshua Selsky

From source file org.squale.welcom.addons.message.synchro.TaskCheckUpdateMessageRessources.java

/**
 * @author M327837 Pour changer le modle de ce commentaire de type gnr, allez  :
 *         Fentre&gt;Prfrences&gt;Java&gt;Gnration de code&gt;Code et commentaires
 */
public class TaskCheckUpdateMessageRessources extends TimerTask {

From source file com.orion.utility.Cron.java

public class Cron extends TimerTask {

    private final Log log;
    private final Plugin plugin;
    private final Method method;

From source file dk.netarkivet.archive.bitarchive.distribute.HeartBeatSender.java

/**
 * Thread reponsible for sending out periodic HeartBeatMessages.
 * The BitarchiveServer is closed down if any error occurs
 * whilst sending heartbeats.
 *
 */

From source file phex.utils.SubscriptionDownloader.java

public class SubscriptionDownloader extends TimerTask {
    public SubscriptionDownloader() {
        Environment.getInstance().scheduleTimerTask(this, 0, 14 * 24 * 3600 * 1000);
    }

    public void run() {

From source file voldemort.store.cachestore.impl.PackThread.java

/**
 * pack thread, will purge overflow and deleted block, and move current active data to different channel
 * the trigger conditions could be reached by the overflow size > trigger size
 * or user could issue pack command
 * only user call pack() to activate it
 */

From source file ca.farrelltonsolar.classic.PVOutputUploader.java

/**
 * Created by Graham on 22/12/2014.
 */
public class PVOutputUploader extends TimerTask {
    private static final int kBufferExpansionSize = 1024;
    static String pvOutput = "pvoutput.org";