org.apache.hadoop.hbase
Class HServerLoadWithSeqIds

java.lang.Object
  extended by org.apache.hadoop.io.VersionedWritable
      extended by org.apache.hadoop.hbase.HServerLoadWithSeqIds
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class HServerLoadWithSeqIds
extends org.apache.hadoop.io.VersionedWritable

This is a class that extends HServerLoad with last sequence IDs. It enables us to port 6508 w/o breaking compat.


Constructor Summary
HServerLoadWithSeqIds()
           
HServerLoadWithSeqIds(HServerLoad serverLoad)
           
 
Method Summary
 HServerLoad getServerLoad()
           
 byte getVersion()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HServerLoadWithSeqIds

public HServerLoadWithSeqIds()

HServerLoadWithSeqIds

public HServerLoadWithSeqIds(HServerLoad serverLoad)
Method Detail

getVersion

public byte getVersion()
Specified by:
getVersion in class org.apache.hadoop.io.VersionedWritable
Returns:
the object version number

getServerLoad

public HServerLoad getServerLoad()

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Overrides:
write in class org.apache.hadoop.io.VersionedWritable
Throws:
IOException

readFields

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


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.