@InterfaceAudience.Private public class DisableTableHandler extends EventHandler
EventHandler.EventHandlerListenereventType, seqids, server, waitingTimeForEvents| Constructor and Description |
|---|
DisableTableHandler(Server server,
TableName tableName,
CatalogTracker catalogTracker,
AssignmentManager assignmentManager,
TableLockManager tableLockManager,
boolean skipTableStateCheck) |
| Modifier and Type | Method and Description |
|---|---|
DisableTableHandler |
prepare()
Event handlers should do all the necessary checks in this method (rather than
in the constructor, or in process()) so that the caller, which is mostly executed
in the ipc context can fail fast.
|
void |
process()
This method is the main processing loop to be implemented by the various
subclasses.
|
String |
toString() |
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, run, setListenerpublic DisableTableHandler(Server server, TableName tableName, CatalogTracker catalogTracker, AssignmentManager assignmentManager, TableLockManager tableLockManager, boolean skipTableStateCheck)
public DisableTableHandler prepare() throws TableNotFoundException, TableNotEnabledException, IOException
EventHandlerprepare in class EventHandlerTableNotFoundExceptionTableNotEnabledExceptionIOExceptionpublic String toString()
toString in class EventHandlerpublic void process()
EventHandlerprocess in class EventHandlerCopyright © 2014 The Apache Software Foundation. All rights reserved.