Package org.apache.aurora.scheduler.async.HistoryPruner

Examples of org.apache.aurora.scheduler.async.HistoryPruner.HistoryPrunnerSettings


    storageUtil.expectOperations();
    pruner = new HistoryPruner(
        executor,
        stateManager,
        clock,
        new HistoryPrunnerSettings(ONE_DAY, ONE_MINUTE, PER_JOB_HISTORY),
        storageUtil.storage);
  }
View Full Code Here


            .build());
    return new HistoryPruner(
        realExecutor,
        stateManager,
        clock,
        new HistoryPrunnerSettings(Amount.of(1L, Time.MILLISECONDS), ONE_MS, PER_JOB_HISTORY),
        storageUtil.storage);
  }
View Full Code Here

    install(new PrivateModule() {
      @Override
      protected void configure() {
        // TODO(ksweeney): Create a configuration validator module so this can be injected.
        // TODO(William Farner): Revert this once large task counts is cheap ala hierarchichal store
        bind(HistoryPrunnerSettings.class).toInstance(new HistoryPrunnerSettings(
            HISTORY_PRUNE_THRESHOLD.get(),
            HISTORY_MIN_RETENTION_THRESHOLD.get(),
            HISTORY_MAX_PER_JOB_THRESHOLD.get()
        ));
        bind(ScheduledExecutorService.class).toInstance(executor);
View Full Code Here

TOP

Related Classes of org.apache.aurora.scheduler.async.HistoryPruner.HistoryPrunnerSettings

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.