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 org.apache.metron.dataloads.taxii.TaxiiHandler.java

public class TaxiiHandler extends TimerTask {
    private static final Logger LOG = Logger.getLogger(TaxiiHandler.class);

    private static ThreadLocal<TaxiiXmlFactory> xmlFactory = new ThreadLocal<TaxiiXmlFactory>() {
        @Override
        protected TaxiiXmlFactory initialValue() {

From source file orca.shirako.container.RemoteRegistryCache.java

/**
 * This class implements a cache of the XMLRPC actor registry
 * @author ibaldin
 *
 */
public class RemoteRegistryCache extends TimerTask {

From source file eu.stratosphere.nephele.instance.ec2.EC2CloudManager.java

/**
 * The task of cloud manager is managing instances (virtual machines) in the cloud. The cloud manager can allocate and
 * release instances. There are three types of instances: reserved instance, cloud instance and floating instance. The
 * reserved instance is reserved for a specific job. The cloud instance is an instance in the running state. The
 * floating instance is idle and not reserved for any job. The type of an instance in the cloud may vary among these
 * three states. One instance belongs to only one user, i.e. the user can use only his own instances in the cloud. The

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

/**
 * Created by Graham on 12/12/2014.
 */
public class ModbusTask extends TimerTask {

    final Object lock = new Object();

From source file org.geppetto.simulation.manager.ExperimentRunManager.java

class ExperimentRunChecker extends TimerTask {
    private static Log logger = LogFactory.getLog(ExperimentRunChecker.class);
    private Map<IUser, BlockingQueue<IExperiment>> queuedExperiments = ExperimentRunManager.getInstance()
            .getQueuedExperiments();

    public synchronized void run() {

From source file org.oscarehr.PMmodule.caisi_integrator.CaisiIntegratorUpdateTask.java

public class CaisiIntegratorUpdateTask extends TimerTask {

    private static final Logger logger = MiscUtils.getLogger();

    private static final String INTEGRATOR_UPDATE_PERIOD_PROPERTIES_KEY = "INTEGRATOR_UPDATE_PERIOD";
    private static final String INTEGRATOR_THROTTLE_DELAY_PROPERTIES_KEY = "INTEGRATOR_THROTTLE_DELAY";

From source file com.bstek.dorado.web.loader.DoradoLoader.java

class ConsoleMessageTimerTask extends TimerTask {
    private static final Log logger = LogFactory.getLog(ConsoleMessageTimerTask.class);

    private String content;

    public ConsoleMessageTimerTask(String content) {

From source file de.tor.tribes.ui.windows.DSWorkbenchSplashScreen.java

class HideSplashTask extends TimerTask {

    public HideSplashTask() {
        super();
    }

From source file eu.medsea.mimeutil.detector.OpendesktopMimeDetector.java

abstract class FileWatcher extends TimerTask {
    private long timeStamp;
    private File file;

    public FileWatcher(File file) {
        this.file = file;

From source file gate.util.reporting.DocTimeReporter.java

/**
 * A FileWather class to check whether the file is modified or not at specified
 * interval.
 */
abstract class FileWatcher extends TimerTask {
    private long timeStamp;