org.apache.hadoop.chukwa.util
Class ConstRateValidator.ByteRange

java.lang.Object
  extended by org.apache.hadoop.chukwa.util.ConstRateValidator.ByteRange
All Implemented Interfaces:
Comparable<ConstRateValidator.ByteRange>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<ConstRateValidator.ByteRange>
Enclosing class:
ConstRateValidator

public static class ConstRateValidator.ByteRange
extends Object
implements org.apache.hadoop.io.WritableComparable<ConstRateValidator.ByteRange>


Field Summary
 long len
           
 long start
           
 
Constructor Summary
ConstRateValidator.ByteRange()
           
ConstRateValidator.ByteRange(ChunkImpl val)
           
 
Method Summary
 int compareTo(ConstRateValidator.ByteRange o)
           
 boolean equals(Object o)
           
 int hashCode()
           
static ConstRateValidator.ByteRange read(DataInput in)
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

public long start

len

public long len
Constructor Detail

ConstRateValidator.ByteRange

public ConstRateValidator.ByteRange()

ConstRateValidator.ByteRange

public ConstRateValidator.ByteRange(ChunkImpl val)
Method Detail

readFields

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

write

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

read

public static ConstRateValidator.ByteRange read(DataInput in)
                                         throws IOException
Throws:
IOException

compareTo

public int compareTo(ConstRateValidator.ByteRange o)
Specified by:
compareTo in interface Comparable<ConstRateValidator.ByteRange>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © ${year} The Apache Software Foundation