org.apache.hama.bsp
Class ReportGroomStatusDirective

java.lang.Object
  extended by org.apache.hama.bsp.Directive
      extended by org.apache.hama.bsp.ReportGroomStatusDirective
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class ReportGroomStatusDirective
extends Directive
implements org.apache.hadoop.io.Writable

Reports status of GroomServer.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hama.bsp.Directive
Directive.Type
 
Field Summary
static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.apache.hama.bsp.Directive
timestamp, type
 
Constructor Summary
ReportGroomStatusDirective()
           
ReportGroomStatusDirective(GroomServerStatus status)
           
 
Method Summary
 GroomServerStatus getStatus()
           
 void readFields(java.io.DataInput in)
           
 void write(java.io.DataOutput out)
          Command for BSPMaster or GroomServer to execute.
 
Methods inherited from class org.apache.hama.bsp.Directive
getTimestamp, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

ReportGroomStatusDirective

public ReportGroomStatusDirective()

ReportGroomStatusDirective

public ReportGroomStatusDirective(GroomServerStatus status)
Method Detail

getStatus

public GroomServerStatus getStatus()

write

public void write(java.io.DataOutput out)
           throws java.io.IOException
Description copied from class: Directive
Command for BSPMaster or GroomServer to execute. public abstract void execute() throws Exception;

Specified by:
write in interface org.apache.hadoop.io.Writable
Overrides:
write in class Directive
Throws:
java.io.IOException

readFields

public void readFields(java.io.DataInput in)
                throws java.io.IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Overrides:
readFields in class Directive
Throws:
java.io.IOException


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.