org.apache.hadoop.hbase
Class HMaster.MetaRegion

java.lang.Object
  extended by org.apache.hadoop.hbase.HMaster.MetaRegion
All Implemented Interfaces:
Comparable
Enclosing class:
HMaster

public static class HMaster.MetaRegion
extends Object
implements Comparable

Describes a meta region and its server


Method Summary
 int compareTo(Object o)
          
 boolean equals(Object o)
          
 Text getRegionName()
           
 HServerAddress getServer()
           
 Text getStartKey()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()

Overrides:
toString in class Object

getRegionName

public Text getRegionName()
Returns:
the regionName

getServer

public HServerAddress getServer()
Returns:
the server

getStartKey

public Text getStartKey()
Returns:
the startKey

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

compareTo

public int compareTo(Object o)

Specified by:
compareTo in interface Comparable


Copyright © 2006 The Apache Software Foundation