com.sun.jini.example.ray.ex2.raytrace
Class RenderTask
java.lang.Object
com.sun.jini.example.ray.ex2.genericWorker.TaskEntry
com.sun.jini.example.ray.ex2.raytrace.RenderTask
- All Implemented Interfaces:
- net.jini.core.entry.Entry, java.io.Serializable
- public class RenderTask
- extends TaskEntry
- See Also:
- Serialized Form
|
Method Summary |
net.jini.core.entry.Entry |
execute(com.sun.jini.collection.WeakTable cache)
Execute whatever task the entry requires. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
requestor
public java.lang.Long requestor
startY
public java.lang.Integer startY
stopY
public java.lang.Integer stopY
startX
public java.lang.Integer startX
stopX
public java.lang.Integer stopX
RenderTask
public RenderTask()
execute
public net.jini.core.entry.Entry execute(com.sun.jini.collection.WeakTable cache)
- Description copied from class:
TaskEntry
- Execute whatever task the entry requires. If an entry is
returned, it is written back into the space. If
null is returned, nothing is written into the
space. If a subclass of TaskEntry has not
overridden this method, a RuntimeException will be
generated when execute is invoked.
The WeakTable entry can be used to store cached
state between one entry's use of execute and
another of a related entry. Weak references are stored, so
execute must be able to execute properly if the
holder doesn't have a value for the key.
- Overrides:
execute in class TaskEntry
toString
public java.lang.String toString()
Copyright © 2003 Sun Microsystems, Inc. All Rights Reserved.