org.apache.hadoop.hbase.master.handler
Class TableModifyFamilyHandler
java.lang.Object
org.apache.hadoop.hbase.executor.EventHandler
org.apache.hadoop.hbase.master.handler.TableEventHandler
org.apache.hadoop.hbase.master.handler.TableModifyFamilyHandler
- All Implemented Interfaces:
- Comparable<Runnable>, Runnable
@InterfaceAudience.Private
public class TableModifyFamilyHandler
- extends TableEventHandler
Handles adding a new family to an existing table.
TableModifyFamilyHandler
public TableModifyFamilyHandler(byte[] tableName,
HColumnDescriptor familyDesc,
Server server,
MasterServices masterServices)
prepareWithTableLock
protected void prepareWithTableLock()
throws IOException
- Description copied from class:
TableEventHandler
- Called from prepare() while holding the table lock. Subclasses
can do extra initialization, and not worry about the releasing
the table lock.
- Overrides:
prepareWithTableLock
in class TableEventHandler
- Throws:
IOException
handleTableOperation
protected void handleTableOperation(List<HRegionInfo> regions)
throws IOException
- Specified by:
handleTableOperation
in class TableEventHandler
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class EventHandler
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.