Package cl.niclabs.skandium.system

Examples of cl.niclabs.skandium.system.StackBuilder


   * @return A future object which can wait for the result of computation.
   */
  @SuppressWarnings("unchecked")
  public Future<R> input(P param){
   
        StackBuilder builder = new StackBuilder();
        skeleton.accept(builder);
       
        Task task = new Task(param, builder.stack, executor);
    this.executor.execute(task);
   
View Full Code Here


 
  @Override
  public <P extends Serializable, R extends Serializable> void execute(
      Skeleton<P, R> skeleton, P param) {
   
    StackBuilder builder = new StackBuilder();
    skeleton.accept(builder);
   
    Task task = new Task(param, builder.stack, executor);
    if(VERBOSE)
      System.out.println("Task from user accepted on host " + hostname);
View Full Code Here

TOP

Related Classes of cl.niclabs.skandium.system.StackBuilder

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.