Tabnine Logo
ScheduleDelay.initialDelayParameterName
Code IndexAdd Tabnine to your IDE (free)

How to use
initialDelayParameterName
method
in
org.eclipse.che.commons.schedule.ScheduleDelay

Best Java code snippets using org.eclipse.che.commons.schedule.ScheduleDelay.initialDelayParameterName (Showing top 1 results out of 315)

origin: org.eclipse.che.core/che-core-commons-schedule

private void launch(Object object, Method method, ScheduleDelay annotation) {
 if (annotation.delayParameterName().isEmpty() && annotation.delay() == 0) {
  throw new RuntimeException("Delay parameter is not configured");
 }
 Launcher launcher = launcherProvider.get();
 launcher.scheduleWithFixedDelay(
   new LoggedRunnable(object, method),
   annotation.initialDelayParameterName().isEmpty()
     ? annotation.initialDelay()
     : getValue(annotation.initialDelayParameterName()),
   annotation.delayParameterName().isEmpty()
     ? annotation.delay()
     : getValue(annotation.delayParameterName()),
   annotation.unit());
}
org.eclipse.che.commons.scheduleScheduleDelayinitialDelayParameterName

Popular methods of ScheduleDelay

  • <init>
  • delay
  • delayParameterName
  • initialDelay
  • unit

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now