Example usage for org.springframework.scheduling Trigger interface-usage

List of usage examples for org.springframework.scheduling Trigger interface-usage

Introduction

In this page you can find the example usage for org.springframework.scheduling Trigger interface-usage.

Usage

From source file fr.mael.microrss.service.impl.ParseTrigger.java

@Component
public class ParseTrigger implements Trigger {

    public static final int EXECUTION_INTERVAL = 1 * 60 * 1000;

    @Override

From source file com.epam.ta.reportportal.job.SelfCancalableJob.java

/**
 * Job contains run method and trigger. The main idea to provide possibility to
 * cancel next execution from run method. User can override job, call
 * {@link SelfCancalableJob#oneMoreTime(boolean)} method and this way cancel
 * next execution. In case if we need job to keep executed, we do not call
 * anything, next execution time calculation delegated to provided trigger

From source file ru.retbansk.utils.scheduled.DynamicSchedule.java

/**
 * Name tells everything. Its dynamic schedule. It is used to provide runtime configuration of the schedule. 
 * Main method is <code>setDelay(int delay)</code>. It automatically restarts schedule if the new delay is less than the old one. Or waits the next schedule if the new delay is greater 
 * @author Siarhei Yanusheuski
 * @since 25.10.2012
 */

From source file org.housecream.camel.solar.SolarConsumerRunner.java

public class SolarConsumerRunner implements Runnable, Trigger {

    private final SolarConsumer consumer;
    private final SolarEndpoint endpoint;
    private SolarAdvancedCalculator calculator;

From source file org.lareferencia.backend.tasks.SnapshotCronTrigger.java

public class SnapshotCronTrigger implements Trigger {

    CronTrigger cronTrigger;
    Network network;

    public SnapshotCronTrigger(Network network) {

From source file org.springframework.cloud.stream.app.trigger.DateTrigger.java

/**
 * A {@link Trigger} implementation that enables execution on a series of Dates.
 * 
 * @author Glenn Renfro
 * @author Florent Biville
 */

From source file org.springframework.integration.cluster.strictorder.JdbcEntityQueues.java

/**
 * @author Gary Russell
 *
 */
public class JdbcEntityQueues implements EntityQueues<String, Message<?>>, Trigger {

From source file org.springframework.xd.module.support.DateTrigger.java

/**
 * A {@link Trigger} implementation that enables execution on a series of Dates.
 * 
 * @author Glenn Renfro
 * @author Florent Biville
 */

From source file org.springframework.xd.module.util.DateTrigger.java

/**
 * A {@link Trigger} implementation that enables execution on a series of Dates. By default it will fire one time as
 * soon as possible.
 * 
 * @author Glenn Renfro
 */

From source file uk.ac.bbsrc.tgac.miso.notification.core.DynamicTrigger.java

/**
 * A trigger for periodic task execution with the added capability to modify runtime the period between
 * polls. A desired behavior when you are trying to throttle inbound messages via polling rate.
 *
 * @author jtedilla
 * @see org.springframework.scheduling.support.PeriodicTrigger