Java org.springframework.scheduling.support PeriodicTrigger fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.scheduling.support PeriodicTrigger fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.scheduling.support PeriodicTrigger.

The text is from its open source code.

Constructor

PeriodicTrigger(long period)
Create a trigger with the given period in milliseconds.
PeriodicTrigger(long period, @Nullable TimeUnit timeUnit)
Create a trigger with the given period and time unit.

Method

voidsetFixedRate(boolean fixedRate)
Specify whether the periodic interval should be measured between the scheduled start times rather than between actual completion times.
voidsetInitialDelay(long initialDelay)
Specify the delay for the initial execution.