com.bigdata.service.mapred
Class Outcome

java.lang.Object
  extended by com.bigdata.service.mapred.Outcome
All Implemented Interfaces:
Serializable

public class Outcome
extends Object
implements Serializable

Outcome for a task.

Version:
$Id: Outcome.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
Outcome(UUID task, Status status, String message)
           
 
Method Summary
 String getMessage()
          The message associated with the Outcome (may be null).
 Status getStatus()
          The task status.
 UUID getTask()
          The task identifier.
 int hashCode()
          The hash code for the task UUID.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Outcome

public Outcome(UUID task,
               Status status,
               String message)
Parameters:
task - The task identifier (required).
status - The task status (required).
message - The message associated with the outcome (required if the Status.Error).
Method Detail

hashCode

public int hashCode()
The hash code for the task UUID.

Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getTask

public UUID getTask()
The task identifier.


getStatus

public Status getStatus()
The task status.


getMessage

public String getMessage()
The message associated with the Outcome (may be null).



Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.