org.tiling.computefarm
Class TaskEntry

java.lang.Object
  extended byorg.tiling.computefarm.TaskEntry
All Implemented Interfaces:
net.jini.core.entry.Entry, java.io.Serializable

public class TaskEntry
extends java.lang.Object
implements net.jini.core.entry.Entry

A TaskEntry is an entry holder for task objects that are the constituent pieces of a Job.

See Also:
Serialized Form

Field Summary
 net.jini.id.Uuid jobId
          The globally unique identifier for the associated Job.
 Task task
          The task payload.
 
Constructor Summary
TaskEntry()
           
TaskEntry(net.jini.id.Uuid jobId, Task task)
           
 
Method Summary
 long resultLeaseTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobId

public net.jini.id.Uuid jobId
The globally unique identifier for the associated Job.


task

public Task task
The task payload.

Constructor Detail

TaskEntry

public TaskEntry()

TaskEntry

public TaskEntry(net.jini.id.Uuid jobId,
                 Task task)
Method Detail

resultLeaseTime

public long resultLeaseTime()
Returns:
the lease time for the ResultEntry.


Copyright © -2004 . All Rights Reserved.