Examples of HistoryPrunnerSettings


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

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

            .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

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

    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

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

    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

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

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

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

            .build());
    return new TaskHistoryPruner(
        realExecutor,
        stateManager,
        clock,
        new HistoryPrunnerSettings(Amount.of(1L, Time.MILLISECONDS), ONE_MS, PER_JOB_HISTORY),
        storageUtil.storage);
  }
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.