Class CloseRegionHandler

java.lang.Object
org.apache.hadoop.hbase.executor.EventHandler
org.apache.hadoop.hbase.regionserver.handler.CloseRegionHandler
All Implemented Interfaces:
Comparable<EventHandler>, Runnable
Direct Known Subclasses:
CloseMetaHandler

@Private public class CloseRegionHandler extends EventHandler
Handles closing of a region on a region server.

In normal operation, we use UnassignRegionHandler closing Regions but when shutting down the region server and closing out Regions, we use this handler instead; it does not expect to be able to communicate the close back to the Master.

Expects that the close *has* been registered in the hosting RegionServer before submitting this Handler; i.e. rss.getRegionsInTransitionInRS().putIfAbsent( this.regionInfo.getEncodedNameAsBytes(), Boolean.FALSE); has been called first. In here when done, we do the deregister.

See Also: