Package com.twitter.common.util

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


    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

Related Classes of com.twitter.common.util.BackoffHelper

Copyright © 2018 www.massapicom. 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.