Package org.nebulaframework.core.job.future

Examples of org.nebulaframework.core.job.future.GridJobFutureServerImpl


   * @return {@code GridJobFutureImpl} Future
   */
  public GridJobFutureServerImpl createFuture(String jobId,
      InternalClusterJobService jobService) {

    GridJobFutureServerImpl future = new GridJobFutureServerImpl(jobId,
        jobService);
    future.setState(GridJobState.WAITING);

    // Export the Future to client side through Spring JMS Remoting
    String queueName = createFutureQueue(jobId);

    // Clean Up Hook
View Full Code Here


    jmsSupport.createResultQueue(jobId);
    jmsSupport.createFutureQueue(jobId);

    // Create GridJobFuture, which will be used remotely by
    // owner node to monitor / obtain results
    final GridJobFutureServerImpl future = jmsSupport.createFuture(jobId, this);

    // Create GridJobProfile for GridJob
    final GridJobProfile profile = new GridJobProfile();
    profile.setJobId(jobId);
    profile.setOwner(owner);
View Full Code Here

TOP

Related Classes of org.nebulaframework.core.job.future.GridJobFutureServerImpl

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.