org.apache.hama.bsp
Class ReportGroomStatusDirective
java.lang.Object
org.apache.hama.bsp.Directive
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.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
ReportGroomStatusDirective
public ReportGroomStatusDirective()
ReportGroomStatusDirective
public ReportGroomStatusDirective(GroomServerStatus status)
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.