Examples of BackoffHelper


Examples of com.twitter.common.util.BackoffHelper

    bind(AuroraCronJobFactory.class).in(Singleton.class);

    bind(AuroraCronJob.class).in(Singleton.class);
    bind(AuroraCronJob.Config.class).toInstance(new AuroraCronJob.Config(
        new BackoffHelper(CRON_START_INITIAL_BACKOFF.get(), CRON_START_MAX_BACKOFF.get())));

    bind(CronLifecycle.class).in(Singleton.class);
    PubsubEventModule.bindSubscriber(binder(), CronLifecycle.class);
  }
View Full Code Here

Examples of com.twitter.common.util.BackoffHelper

    bind(AuroraCronJobFactory.class).in(Singleton.class);

    bind(AuroraCronJob.class).in(Singleton.class);
    bind(AuroraCronJob.Config.class).toInstance(new AuroraCronJob.Config(
        new BackoffHelper(CRON_START_INITIAL_BACKOFF.get(), CRON_START_MAX_BACKOFF.get())));

    bind(CronLifecycle.class).in(Singleton.class);
    SchedulerModule.addSchedulerActiveServiceBinding(binder()).to(CronLifecycle.class);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.