Examples of schedule()


Examples of barsuift.simLife.process.Synchronizer3D.schedule()

        group = new BranchGroup();
        group.setCapability(Group.ALLOW_CHILDREN_EXTEND);
        group.setCapability(Group.ALLOW_CHILDREN_WRITE);
        Synchronizer3D synchronizer3D = universe3D.getSynchronizer();
        gravityTask = new GravityTask(state.getGravityTask());
        synchronizer3D.schedule(gravityTask);
    }

    @Override
    public Group getGroup() {
        return group;
View Full Code Here

Examples of bndtools.central.RefreshFileJob.schedule()

        if (path == null)
            path = Path.fromOSString(file.getAbsolutePath());

        RefreshFileJob refreshJob = new RefreshFileJob(file, false);
        if (refreshJob.needsToSchedule())
            refreshJob.schedule(100);

        return path;
    }
}
View Full Code Here

Examples of bndtools.tasks.AnalyseBundleResolutionJob.schedule()

                        }
                    });
                }
            }
        });
        job.schedule();
    }

    private IFile getEditorFile() {
        IFormPage page = (IFormPage) getManagedForm().getContainer();
        IFile file = ResourceUtil.getFile(page.getEditorInput());
View Full Code Here

Examples of ca.uvic.cs.cloud.cloudwizard.CloudBuildRunner.schedule()

    System.out.println("export");
    BuildSettingsStore bs = BuildSettingStoreFactory.build(page, page2);
    CloudBuildRunner cbr = new CloudBuildRunner(bs);
   
    cbr.setPriority(Job.LONG);
     cbr.schedule(); // start as soon as possible
        return true;
  }
  
  /* (non-Javadoc)
   * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
View Full Code Here

Examples of com.adito.tasks.timer.StoppableTimer.schedule()

    }

    private void doShutdown(HttpServletRequest request, ShutdownForm shutdownForm, final boolean restart) {
        StoppableTimer timer = (StoppableTimer) CoreServlet.getServlet().getServletContext().getAttribute(StoppableTimer.NAME);
        ShutdownTimerTask stt = new ShutdownTimerTask(restart, Integer.parseInt(shutdownForm.getShutdownDelay()));
        timer.schedule(ShutdownTimerTask.NAME, stt, stt.getDelay());
        GlobalWarningManager.getInstance().addMultipleGlobalWarning(new GlobalWarning(GlobalWarning.ALL_USERS, new BundleActionMessage("setup",
            "shutdown.global.warning.message",
            stt.getShutDownTimeString()), DismissType.NO_DISMISS));
        request.getSession().setAttribute(Constants.RESTARTING, Boolean.valueOf(restart));
    }
View Full Code Here

Examples of com.caucho.env.thread.ThreadPool.schedule()

  void requestWakeKeepalive()
  {
    if (_requestStateRef.get().toWakeKeepalive(_requestStateRef)) {
      ThreadPool threadPool = _listener.getThreadPool();
     
      if (! threadPool.schedule(getKeepaliveTask())) {
        log.severe(L.l("Schedule failed for {0}", this));
      }
    }
  }
 
View Full Code Here

Examples of com.cloudera.lib.service.Scheduler.schedule()

  @Override
  public void postInit() throws ServiceException {
    Scheduler scheduler = getServer().get(Scheduler.class);
    if (scheduler != null) {
      scheduler.schedule(new SamplersRunnable(), 0, 1, TimeUnit.SECONDS);
    }
  }

  @Override
  public Class getInterface() {
View Full Code Here

Examples of com.dubture.composer.ui.job.ComposerJob.schedule()

        } else {
          job = new UpdateJob(project);
        }
       
        job.setUser(false);
        job.schedule();
       
        newDepSinceLastSave = false;
        newDevDepSinceLastSave = false;
      }
     
View Full Code Here

Examples of com.dubture.composer.ui.job.CreateProjectJob.schedule()

      public void jobFailed() {
        latch.countDown();
      }
    });
   
    projectJob.schedule();
   
    // we need to wait until the first page has started the
    // create-project composer command and the command actually
    // wrote something to disk, otherwise the command will fail
    //
View Full Code Here

Examples of com.dubture.composer.ui.job.InstallDevJob.schedule()

  public void run() {
    ensureSaved();
   
    InstallDevJob job = new InstallDevJob(project);
    job.setUser(true);
    job.schedule();
  }

  @Override
  public ImageDescriptor getImageDescriptor() {
    return ComposerUIPluginImages.INSTALL_DEV;
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.