org.apache.hadoop.hbase.master.handler
Class MetaServerShutdownHandler

java.lang.Object
  extended by org.apache.hadoop.hbase.executor.EventHandler
      extended by org.apache.hadoop.hbase.master.handler.ServerShutdownHandler
          extended by org.apache.hadoop.hbase.master.handler.MetaServerShutdownHandler
All Implemented Interfaces:
Comparable<Runnable>, Runnable

public class MetaServerShutdownHandler
extends ServerShutdownHandler

Shutdown handler for the server hosting -ROOT-, .META., or both.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.executor.EventHandler
EventHandler.EventHandlerListener, EventHandler.EventType
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.master.handler.ServerShutdownHandler
deadServers, serverName, services, shouldSplitHlog
 
Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
 
Constructor Summary
MetaServerShutdownHandler(Server server, MasterServices services, DeadServer deadServers, ServerName serverName, boolean carryingRoot, boolean carryingMeta)
           
 
Method Summary
 void process()
          This method is the main processing loop to be implemented by the various subclasses.
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hbase.master.handler.ServerShutdownHandler
fixupDaughters, getInformativeName, processDeadRegion
 
Methods inherited from class org.apache.hadoop.hbase.executor.EventHandler
compareTo, getEventType, getListener, getPriority, getSeqid, run, setListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaServerShutdownHandler

public MetaServerShutdownHandler(Server server,
                                 MasterServices services,
                                 DeadServer deadServers,
                                 ServerName serverName,
                                 boolean carryingRoot,
                                 boolean carryingMeta)
Method Detail

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.

Overrides:
process in class ServerShutdownHandler
Throws:
IOException

toString

public String toString()
Overrides:
toString in class ServerShutdownHandler


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