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.splunk.logging.HttpEventCollectorSender.java

import java.security.cert.X509Certificate;
import java.util.Dictionary;
import java.util.Timer;
import java.util.TimerTask;
import java.util.List;
import java.util.LinkedList;

From source file org.apache.synapse.core.axis2.TimeoutHandler.java

/**
 * An object of this class is registered to be invoked in some predefined time intervals. This
 * checks the timeouts of callbacks stored in the SynapseCallbackReceiver and removes all expired
 * callbacks. Timeouts of the callbacks are stored as the time, not the duration. So that the
 * time or the interval of invoking this class does not affect the correctness of the timeouts,
 * although longer intervals would introduce larger error between the actual timeout and the

From source file net.doubledoordev.backend.util.Cache.java

/**
 * Contains static Runnables that are used often
 *
 * @author Dries007
 */
public class Cache extends TimerTask {

From source file org.wattdepot.client.http.api.collector.MeasurementSummaryClient.java

/**
 * MeasurementSummaryClient polls the WattDepot server asking for the all the
 * measurements in a depository.
 * 
 * @author Cam Moore
 * 

From source file net.andylizi.colormotd.anim.updater.Updater.java

public final class Updater extends TimerTask {

    private final String fileName;
    private String etag = null;
    public NewVersion newVersion;
    public BukkitTask countdown;

From source file net.firejack.platform.model.config.GatewayLoader.java

public class GatewayLoader extends TimerTask {

    public static final String CONFIG = "properties";
    public static final String LOOKUP = "lookup";
    public static final String TIMEOUT = "timeout";

From source file net.micwin.openspace.jobs.AdvancerTask.java

public class AdvancerTask extends TimerTask {

    private static final Logger L = LoggerFactory.getLogger(AdvancerTask.class);

    @Autowired
    private SessionFactory sessionFactory;

From source file org.wattdepot.client.http.api.collector.StressTestCollector.java

/**
 * StressTestCollector is a stand alone collector that stresses the
 * WattDepotServer by producing fake Measurements.
 * 
 * @author Cam Moore
 * 

From source file org.red5.server.stream.SimpleBWControlService.java

/**
 * A simple implementation of bandwidth controller. The initial burst,
 * if not specified by user, is half of the property "defaultCapacity".
 * <p>
 * Following is the reference information for the future optimization
 * on threading:

From source file org.oscarehr.common.service.E2ESchedulerJob.java

/**
 * An E2E scheduler object for periodically exporting all available patient summaries via HTTP POST
 * This object extends the JDK TimerTask, but applicationContextE2E.xml uses Quartz scheduling instead
 * 
 * @author Marc Dumontier, Jeremy Ho
 */