@InterfaceAudience.Private public class TruncateTableHandler extends DeleteTableHandler
EventHandler.EventHandlerListener
hTableDescriptor
masterServices, tableLock, tableName
eventType, seqids, server, waitingTimeForEvents
Constructor and Description |
---|
TruncateTableHandler(TableName tableName,
Server server,
MasterServices masterServices,
boolean preserveSplits) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleTableOperation(List<HRegionInfo> regions) |
prepareWithTableLock, releaseTableLock, removeTableData, toString, waitRegionInTransition
completed, getTableDescriptor, prepare, process, reOpenAllRegions
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, run, setListener
public TruncateTableHandler(TableName tableName, Server server, MasterServices masterServices, boolean preserveSplits)
protected void handleTableOperation(List<HRegionInfo> regions) throws IOException, CoordinatedStateException
handleTableOperation
in class DeleteTableHandler
IOException
CoordinatedStateException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.