org.apache.hadoop.hbase.master
Class AssignmentManager.RegionState

java.lang.Object
  extended by org.apache.hadoop.hbase.master.AssignmentManager.RegionState
All Implemented Interfaces:
org.apache.hadoop.io.Writable
Enclosing class:
AssignmentManager

public static class AssignmentManager.RegionState
extends Object
implements org.apache.hadoop.io.Writable

State of a Region while undergoing transitions.


Nested Class Summary
static class AssignmentManager.RegionState.State
           
 
Constructor Summary
AssignmentManager.RegionState()
           
 
Method Summary
 HRegionInfo getRegion()
           
 long getStamp()
           
 AssignmentManager.RegionState.State getState()
           
 boolean isClosed()
           
 boolean isClosing()
           
 boolean isOffline()
           
 boolean isOpened()
           
 boolean isOpening()
           
 boolean isPendingClose()
           
 boolean isPendingOpen()
           
 void readFields(DataInput in)
           
 String toString()
           
 void update(AssignmentManager.RegionState.State state)
           
 void update(AssignmentManager.RegionState.State state, long stamp)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssignmentManager.RegionState

public AssignmentManager.RegionState()
Method Detail

update

public void update(AssignmentManager.RegionState.State state,
                   long stamp)

update

public void update(AssignmentManager.RegionState.State state)

getState

public AssignmentManager.RegionState.State getState()

getStamp

public long getStamp()

getRegion

public HRegionInfo getRegion()

isClosing

public boolean isClosing()

isClosed

public boolean isClosed()

isPendingClose

public boolean isPendingClose()

isOpening

public boolean isOpening()

isOpened

public boolean isOpened()

isPendingOpen

public boolean isPendingOpen()

isOffline

public boolean isOffline()

toString

public String toString()
Overrides:
toString in class Object

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


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