Examples of schedule()


Examples of org.cishell.app.service.scheduler.SchedulerService.schedule()

              this.originalData,
              this.data,
              this.converters);
            SchedulerService scheduler = (SchedulerService) getService(SchedulerService.class);
           
            scheduler.schedule(algorithm, uniqueServiceReference);
        } catch (Throwable exception) {
          // Just in case an uncaught exception occurs. Eclipse will swallow errors thrown here.
            exception.printStackTrace();
        }
    }
View Full Code Here

Examples of org.cometd.server.AbstractServerTransport.Scheduler.schedule()

                    _scheduler = null;
            }
        }
        if (scheduler != null)
        {
            scheduler.schedule();
            // If there is a scheduler, then it's a remote session
            // and we should not perform local delivery, so we return
            return;
        }
View Full Code Here

Examples of org.dcarew.halostatus.utils.HaloStatusUpdateJob.schedule()

   
    plugin = this;
   
    HaloStatusUpdateJob statusJob = new HaloStatusUpdateJob();
   
    statusJob.schedule(5000);
  }
 
  public void stop(BundleContext context)
    throws Exception
  {
View Full Code Here

Examples of org.eclipse.core.resources.WorkspaceJob.schedule()

        root.refreshLocal(IResource.DEPTH_INFINITE, monitor);
        return Status.OK_STATUS;
      }
    };
    job.setRule(root);
    job.schedule();
  }

  private class CancelableProgressMonitorWrapper extends
      ProgressMonitorWrapper {
    private double total = 0;
View Full Code Here

Examples of org.eclipse.ecf.core.start.ECFStartJob.schedule()

                }
                if (result != null && !result.isOK())
                  logException(result, result.getMessage(), result.getException());
              } else {
                final ECFStartJob job = new ECFStartJob(clazz.getClass().getName(), clazz);
                job.schedule();
              }
            } catch (final CoreException e) {
              logException(e.getStatus(), method, e);
            } catch (final Exception e) {
              logException(new Status(IStatus.ERROR, getDefault().getBundle().getSymbolicName(), IStatus.ERROR, "Unknown start exception", e), method, e); //$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.ecf.ui.screencapture.ScreenCaptureJob.schedule()

                ScreenCaptureJob screenCaptureJob = new ScreenCaptureJob(Display.getCurrent(), entry.getUser().getID(), entry.getUser().getName(), new IImageSender() {
                  public void sendImage(ID targetID, ImageData imageData) {
                    screencaptureshare.sendImage(entry.getRoster().getUser().getID(), entry.getRoster().getUser().getName(), targetID, imageData);
                  }
                });
                screenCaptureJob.schedule(SCREEN_CAPTURE_DELAY);
              }
            }
          };
          action.setText(Messages.ScreenCaptureShareRosterEntryContributionItem_SCREEN_CAPTURE_MENU);
          action.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_DEF_VIEW));
View Full Code Here

Examples of org.eclipse.equinox.p2.operations.UpdateOperation.schedule()

          State state = fromStatus(s);
          callback.call(new P2UpdateCheckRV(o, state, s.getMessage(), state == State.OK,s.getException()));
          return Status.OK_STATUS;
        }
      };
      o.schedule();
    } catch (ProvisionException e) {
      getLogger().error(e.getMessage(), e);
      callback.call(new P2UpdateCheckRV(null, State.ERROR,"Failure while try to collect updateable units", null, e));
    }
  }
View Full Code Here

Examples of org.eclipse.jetty.util.thread.Scheduler.schedule()

    protected void scheduleTimeout()
    {
        Scheduler scheduler = _channel.getScheduler();
        if (scheduler!=null && _timeoutMs>0)
            _event.setTimeoutTask(scheduler.schedule(_event,_timeoutMs,TimeUnit.MILLISECONDS));
    }

    protected void cancelTimeout()
    {
        final AsyncContextEvent event;
View Full Code Here

Examples of org.eclipse.m2e.wtp.overlay.modulecore.UnpackArchiveJob.schedule()

      IFolder unpackedFolder = getUnpackedArchiveFolder(archive);
      if (isUnpackNeeded(archive, unpackedFolder)) {
        Job[] currentJobs = Job.getJobManager().find(unpackedFolder);
        if (currentJobs.length == 0) {
          Job job = new UnpackArchiveJob(NLS.bind(Messages.OverlayVirtualArchiveComponent_Unpacking_Job,archive.getName()), archive, unpackedFolder);
          job.schedule();
        }
        root = new ResourceListVirtualFolder(getProject(), getRuntimePath(), new IContainer[] {});  
      } else {
         
        if (cachedRoot != null && (System.currentTimeMillis() - lastCacheUpdate) < MAX_CACHE){
View Full Code Here

Examples of org.eclipse.maven.core.MavenExecutor.schedule()

        command.setCommandLine(cmd);
       
       
        Job job = new MavenExecutor(command, pomLocation);
       
        job.schedule();
       
        return job;
      }
    }
    return null;
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.