Examples of GcExecutorSettings


Examples of org.apache.aurora.scheduler.async.GcExecutorLauncher.GcExecutorSettings

  public void testGcExecutorDisabled() {
    expect(statsProvider.makeCounter(LOST_TASKS_STAT_NAME)).andReturn(lostTasks);
    control.replay();

    gcExecutorLauncher = new GcExecutorLauncher(
        new GcExecutorSettings(Amount.of(1L, Time.HOURS), Optional.<String>absent()),
        storageUtil.storage,
        clock,
        MoreExecutors.sameThreadExecutor(),
        driver,
        statsProvider,
View Full Code Here

Examples of org.apache.aurora.scheduler.async.GcExecutorLauncher.GcExecutorSettings

    expect(statsProvider.makeCounter(LOST_TASKS_STAT_NAME)).andReturn(lostTasks);
    expect(statsProvider.makeCounter(INSUFFICIENT_OFFERS_STAT_NAME)).andReturn(insufficientOffers);
    control.replay();

    gcExecutorLauncher = new GcExecutorLauncher(
        new GcExecutorSettings(Amount.of(1L, Time.HOURS), Optional.<String>absent()),
        storageUtil.storage,
        clock,
        MoreExecutors.sameThreadExecutor(),
        driver,
        statsProvider,
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.