org.apache.hadoop.hbase.regionserver.handler
Class OpenRegionHandler
java.lang.Object
org.apache.hadoop.hbase.executor.EventHandler
org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler
- All Implemented Interfaces:
- Comparable<Runnable>, Runnable
- Direct Known Subclasses:
- OpenMetaHandler, OpenRootHandler
public class OpenRegionHandler
- extends EventHandler
Handles opening of a region on a region server.
This is executed after receiving an OPEN RPC from the master or client.
Constructor Summary |
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd)
|
protected |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
EventHandler.EventType eventType,
int version)
|
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
int version)
|
rsServices
protected final RegionServerServices rsServices
OpenRegionHandler
public OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd)
OpenRegionHandler
public OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
int version)
OpenRegionHandler
protected OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
EventHandler.EventType eventType,
int version)
getRegionInfo
public HRegionInfo getRegionInfo()
process
public void process()
throws IOException
- Description copied from class:
EventHandler
- This method is the main processing loop to be implemented by the various
subclasses.
- Specified by:
process
in class EventHandler
- Throws:
IOException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.