org.globus.cog.abstraction.impl.common.queue
Class QueueImpl
java.lang.Object
org.globus.cog.abstraction.impl.common.taskgraph.TaskGraphImpl
org.globus.cog.abstraction.impl.common.queue.QueueImpl
- All Implemented Interfaces:
- ExecutableObject, Queue, TaskGraph
- public class QueueImpl
- extends TaskGraphImpl
- implements Queue
| Methods inherited from class org.globus.cog.abstraction.impl.common.taskgraph.TaskGraphImpl |
addChangeListener, addStatusListener, contains, elements, equals, get, getActiveCount, getAllAttributes, getAttribute, getCanceledCount, getCompletedCount, getCompletedTime, getFailedCount, getFailureHandlingPolicy, getIdentity, getName, getObjectType, getResumedCount, getSize, getStatus, getSubmittedCount, getSubmittedTime, getSuspendedCount, getUnsubmittedCount, hashCode, isEmpty, removeChangeListener, removeStatusListener, setAttribute, setFailureHandlingPolicy, setIdentity, setName, setStatus, setStatus, toArray, toXML |
| Methods inherited from interface org.globus.cog.abstraction.interfaces.TaskGraph |
addChangeListener, contains, elements, get, getActiveCount, getAllAttributes, getAttribute, getCanceledCount, getCompletedCount, getCompletedTime, getFailedCount, getFailureHandlingPolicy, getResumedCount, getSize, getSubmittedCount, getSubmittedTime, getSuspendedCount, getUnsubmittedCount, isEmpty, removeChangeListener, setAttribute, setFailureHandlingPolicy, toArray, toXML |
QueueImpl
public QueueImpl()
QueueImpl
public QueueImpl(Identity id)
add
public void add(ExecutableObject node)
throws Exception
- Description copied from interface:
TaskGraph
- Adds the
ExecutableObject(Task or
TaskGraph) to this TaskGraph. By default
the added node is an unconnected node without dependencies on any of the
existing nodes in this TaskGraph.
- Specified by:
add in interface TaskGraph- Overrides:
add in class TaskGraphImpl
- Throws:
Exception
remove
public ExecutableObject remove(Identity id)
- Description copied from interface:
TaskGraph
- Removes the
ExecutableObjectthat is represented by the given
identity.
- Specified by:
remove in interface TaskGraph- Overrides:
remove in class TaskGraphImpl
setDependency
public void setDependency(Dependency dependency)
- Description copied from interface:
TaskGraph
- Sets all the dependencies associated with this
TaskGraph.
- Specified by:
setDependency in interface TaskGraph- Overrides:
setDependency in class TaskGraphImpl
getDependency
public Dependency getDependency()
- Description copied from interface:
TaskGraph
- Returns the dependency object associated with this
TaskGraph.
- Specified by:
getDependency in interface TaskGraph- Overrides:
getDependency in class TaskGraphImpl
addDependency
public void addDependency(ExecutableObject from,
ExecutableObject to)
- Description copied from interface:
TaskGraph
- Adds a single dependency between the given nodes.
- Specified by:
addDependency in interface TaskGraph- Overrides:
addDependency in class TaskGraphImpl
removeDependency
public boolean removeDependency(ExecutableObject from,
ExecutableObject to)
- Description copied from interface:
TaskGraph
- Removes the dependency between the given nodes.
- Specified by:
removeDependency in interface TaskGraph- Overrides:
removeDependency in class TaskGraphImpl