/** * Start the scheduler services, by initializing them and starting them */ protected final void startSchedulers() throws SchedulerException { try { timeScheduler.init(); timeScheduler.start(); LOG.info("Started time scheduler"); } catch (SchedulerException t) { Throwables.propagateIfPossible(t, SchedulerException.class); throw new SchedulerException(t); } }
/** * Start the scheduler services, by initializing them and starting them */ protected final void startSchedulers() throws SchedulerException { try { timeScheduler.init(); timeScheduler.start(); LOG.info("Started time scheduler"); } catch (SchedulerException t) { Throwables.propagateIfPossible(t, SchedulerException.class); throw new SchedulerException(t); } }
@BeforeClass public static void beforeClass() throws Throwable { AppFabricTestBase.beforeClass(); timeScheduler = getInjector().getInstance(TimeScheduler.class); timeScheduler.init(); timeScheduler.start(); }