org.apache.hadoop.hbase
Class HServerLoadWithSeqIds
java.lang.Object
org.apache.hadoop.io.VersionedWritable
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HServerLoadWithSeqIds
public HServerLoadWithSeqIds()
HServerLoadWithSeqIds
public HServerLoadWithSeqIds(HServerLoad serverLoad)
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.