com.sun.sgs.kernel
Interface TaskQueue


public interface TaskQueue

This interface defines a dependency between tasks, such that tasks are run in the order in which they are submitted, and the next task isn't started until the current task has completed.


Method Summary
 void addTask(KernelRunnable task, Identity owner)
          Adds a task to this dependency queue.
 

Method Detail

addTask

void addTask(KernelRunnable task,
             Identity owner)
Adds a task to this dependency queue.

Parameters:
task - the KernelRunnable to add
owner - the Identity that owns the task

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved