Package org.eclipse.orion.internal.server.core.tasks

Examples of org.eclipse.orion.internal.server.core.tasks.TaskService


  }

  private void registerServices() {
    try {
      IPath taskLocation = getTaskLocation();
      taskService = new TaskService(taskLocation);
      taskServiceRegistration = bundleContext.registerService(ITaskService.class, taskService, null);
    } catch (IOException e) {
      LogHelper.log(new Status(IStatus.ERROR, ServerConstants.PI_SERVER_CORE, "Failed to initialize task service", e)); //$NON-NLS-1$
    }
  }
View Full Code Here


    }
  }

  @Test
  public void testUniqueTaskInfo() throws InterruptedException { //see Bug 370729
    final ITaskService taskService = new TaskService(new Path(tempDir.getAbsolutePath()));
    int numberOfChecks = 100;
    Job[] jobs = new Job[numberOfChecks];
    final TaskInfo[] taskInfos = new TaskInfo[numberOfChecks];
    for (int i = 0; i < numberOfChecks; i++) {
      jobs[i] = new TaskStoreTestJob(taskService, taskInfos, i);
View Full Code Here

TOP

Related Classes of org.eclipse.orion.internal.server.core.tasks.TaskService

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.