Codota Logo
Backoff
Code IndexAdd Codota to your IDE (free)

How to use
Backoff
in
com.nurkiewicz.asyncretry.backoff

Best Java code snippets using com.nurkiewicz.asyncretry.backoff.Backoff (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: nurkiewicz/async-retry

  @Override
  public long delayMillis(RetryContext context) {
    return Math.max(target.delayMillis(context), minDelayMillis);
  }
}
origin: nurkiewicz/async-retry

public AsyncRetryExecutor withUniformJitter(long range) {
  return this.withBackoff(this.backoff.withUniformJitter(range));
}
origin: nurkiewicz/async-retry

public AsyncRetryExecutor withProportionalJitter() {
  return this.withBackoff(this.backoff.withProportionalJitter());
}
origin: nurkiewicz/async-retry

public AsyncRetryExecutor firstRetryNoDelay() {
  return this.withBackoff(this.backoff.withFirstRetryNoDelay());
}
origin: nurkiewicz/async-retry

public AsyncRetryExecutor withMaxDelay(long maxDelayMillis) {
  return this.withBackoff(this.backoff.withMaxDelay(maxDelayMillis));
}
origin: nurkiewicz/async-retry

public AsyncRetryExecutor withMinDelay(long minDelayMillis) {
  return this.withBackoff(this.backoff.withMinDelay(minDelayMillis));
}
origin: nurkiewicz/async-retry

public AsyncRetryExecutor withUniformJitter() {
  return this.withBackoff(this.backoff.withUniformJitter());
}
origin: com.nurkiewicz.asyncretry/asyncretry

public AsyncRetryExecutor withProportionalJitter(double multiplier) {
  return this.withBackoff(this.backoff.withProportionalJitter(multiplier));
}
origin: com.nurkiewicz.asyncretry/asyncretry

public AsyncRetryExecutor firstRetryNoDelay() {
  return this.withBackoff(this.backoff.withFirstRetryNoDelay());
}
origin: com.nurkiewicz.asyncretry/asyncretry

public AsyncRetryExecutor withMaxDelay(long maxDelayMillis) {
  return this.withBackoff(this.backoff.withMaxDelay(maxDelayMillis));
}
origin: com.nurkiewicz.asyncretry/asyncretry

public AsyncRetryExecutor withMinDelay(long minDelayMillis) {
  return this.withBackoff(this.backoff.withMinDelay(minDelayMillis));
}
origin: nurkiewicz/async-retry

  @Override
  public long delayMillis(RetryContext context) {
    return Math.min(target.delayMillis(context), maxDelayMillis);
  }
}
origin: com.nurkiewicz.asyncretry/asyncretry

public AsyncRetryExecutor withUniformJitter() {
  return this.withBackoff(this.backoff.withUniformJitter());
}
origin: nurkiewicz/async-retry

public AsyncRetryExecutor withProportionalJitter(double multiplier) {
  return this.withBackoff(this.backoff.withProportionalJitter(multiplier));
}
origin: com.nurkiewicz.asyncretry/asyncretry

  @Override
  public long delayMillis(RetryContext context) {
    return Math.min(target.delayMillis(context), maxDelayMillis);
  }
}
origin: com.nurkiewicz.asyncretry/asyncretry

public AsyncRetryExecutor withUniformJitter(long range) {
  return this.withBackoff(this.backoff.withUniformJitter(range));
}
origin: com.nurkiewicz.asyncretry/asyncretry

public AsyncRetryExecutor withProportionalJitter() {
  return this.withBackoff(this.backoff.withProportionalJitter());
}
origin: com.nurkiewicz.asyncretry/asyncretry-jdk7

  @Override
  public long delayMillis(RetryContext context) {
    return Math.max(target.delayMillis(context), minDelayMillis);
  }
}
origin: com.nurkiewicz.asyncretry/asyncretry

  @Override
  public long delayMillis(RetryContext context) {
    return Math.max(target.delayMillis(context), minDelayMillis);
  }
}
origin: com.nurkiewicz.asyncretry/asyncretry-jdk7

  @Override
  public long delayMillis(RetryContext context) {
    return Math.min(target.delayMillis(context), maxDelayMillis);
  }
}
com.nurkiewicz.asyncretry.backoffBackoff

Most used methods

  • delayMillis
  • withFirstRetryNoDelay
  • withMaxDelay
  • withMinDelay
  • withProportionalJitter
  • withUniformJitter

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • JFileChooser (javax.swing)
  • JLabel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now