Package org.apache.aurora.scheduler.async.GcExecutorLauncher

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


    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

Related Classes of org.apache.aurora.scheduler.async.GcExecutorLauncher.GcExecutorSettings

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.