Examples of Worker


Examples of org.pentaho.reporting.engine.classic.core.util.Worker

    }
  }

  protected Worker createWorker()
  {
    return new Worker();
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.util.Worker

    initializeWithoutJob();
  }

  protected Worker createWorker()
  {
    final Worker worker = super.createWorker();
    worker.setPriority(Thread.MIN_PRIORITY);
    return worker;
  }
View Full Code Here

Examples of org.randomgd.bukkit.workers.common.Worker

        added.addAll(buffer);
        added.removeAll(entities);
        // In buffer remains all the entities that have been
        // added since last time.
        for (Entity i : added) {
          pool.add(new Worker(i, workerStack));
        }
        entities.clear();
        entities.addAll(buffer);
        buffer.clear();
        added.clear();
View Full Code Here

Examples of org.red5.server.pooling.Worker

      Object[] params = new Object[] { this, method, methodParams,
          callback };
      Class<?>[] paramTypes = new Class[] { RemotingClient.class,
          String.class, Object[].class, IRemotingCallback.class };

      Worker worker = new Worker();
      worker
          .setClassName("org.red5.server.net.remoting.RemotingClient$RemotingWorker");
      worker.setMethodName("executeTask");
      worker.setMethodParams(params);
      worker.setParamTypes(paramTypes);
      threadPool.execute(worker);
    } catch (Exception err) {
      log.warn("Exception invoking method: " + method);
    }
  }
View Full Code Here

Examples of org.sikuli.remote.worker.Worker

  @Override
  protected void doPost(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {
    ScriptType type = getScriptType(req);
    try {
      Worker worker = type.getWorker().newInstance();
        Script script = new Script(getScriptName(req));
        script.setArgs(getArgs(req));
        script.setSource(getCommand(req));
       
        worker.work(script);
       
        resp.setStatus(HttpServletResponse.SC_OK);
      resp.setContentType("text/xml");
      resp.setHeader("Cache-Control", "no-cache");
      resp.getWriter().print(script);   
View Full Code Here

Examples of org.vietspider.common.util.Worker

    charset = null;
    return path;  
  }

  public void selectAddress(final String ...paths) {
    Worker excutor = new Worker() {
     
      private String url ;
     
      private String html; 
View Full Code Here

Examples of org.wso2.carbon.event.core.internal.delivery.Worker

    }

    public void publish(Message message, String topicName, int deliveryMode) throws EventBrokerException {
        List<Subscription> subscriptions = this.matchingManager.getMatchingSubscriptions(topicName);
        for (Subscription subscription : subscriptions){
           this.executor.submit(new Worker(this.notificationManager, message, subscription));
        }
    }
View Full Code Here

Examples of pymontecarlo.program.nistmonte.Worker

     *            arguments passed to the program
     * @throws Exception
     *             if an exception occurs while executing the program
     */
    public static void main(String[] inargs) throws Exception {
        Worker worker = new Worker();
        main(worker, inargs);
    }
View Full Code Here

Examples of pymontecarlo.program.pap.Worker

     *            arguments passed to the program
     * @throws Exception
     *             if an exception occurs while executing the program
     */
    public static void main(String[] inargs) throws Exception {
        Worker worker = new Worker();
        main(worker, inargs);
    }
View Full Code Here

Examples of pymontecarlo.program.proza.Worker

     *            arguments passed to the program
     * @throws Exception
     *             if an exception occurs while executing the program
     */
    public static void main(String[] inargs) throws Exception {
        Worker worker = new Worker();
        main(worker, inargs);
    }
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.