com.nhncorp.neptune.tabletserver.action
Class MinorCompactionAction
java.lang.Object
com.nhncorp.neptune.tabletserver.action.TabletAction
com.nhncorp.neptune.tabletserver.action.MinorCompactionAction
- All Implemented Interfaces:
- ProxyObject, ActionIF, MinorCompactionActionIF, java.lang.Runnable
public class MinorCompactionAction
- extends TabletAction
- implements MinorCompactionActionIF
|
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
MinorCompactionAction
public MinorCompactionAction()
init
public void init(MinorCompactionActionIF proxyObject,
NConfiguration conf,
Tablet tablet)
throws java.io.IOException
- Specified by:
init in interface MinorCompactionActionIF
- Throws:
java.io.IOException
isWaitingMode
public boolean isWaitingMode()
- Specified by:
isWaitingMode in interface ActionIF- Specified by:
isWaitingMode in class TabletAction
isThreadMode
public boolean isThreadMode()
- Specified by:
isThreadMode in interface ActionIF- Specified by:
isThreadMode in class TabletAction
isEnd
public boolean isEnd()
- Specified by:
isEnd in interface MinorCompactionActionIF
setEnd
public void setEnd(boolean end)
- Specified by:
setEnd in interface MinorCompactionActionIF
run
public void run()
- Specified by:
run in interface java.lang.Runnable
compact
public void compact()
throws java.io.IOException
- Specified by:
compact in interface MinorCompactionActionIF
- Throws:
java.io.IOException
moveMapFileFromTemp
public void moveMapFileFromTemp(DiskSSTableIF diskSSTable,
java.lang.String columnName,
TabletMapFile mapFile)
throws java.io.IOException
- Specified by:
moveMapFileFromTemp in interface MinorCompactionActionIF
- Throws:
java.io.IOException
getActionKey
public java.lang.String getActionKey()
- Specified by:
getActionKey in interface ActionIF- Specified by:
getActionKey in class TabletAction
getRunCheckActionTypes
public java.util.List<java.lang.String> getRunCheckActionTypes()
- Specified by:
getRunCheckActionTypes in interface ActionIF- Specified by:
getRunCheckActionTypes in class TabletAction
getWaitCheckActionTypes
public java.util.List<java.lang.String> getWaitCheckActionTypes()
- Overrides:
getWaitCheckActionTypes in class TabletAction
getActionType
public java.lang.String getActionType()
- Specified by:
getActionType in interface ActionIF- Specified by:
getActionType in class TabletAction
getTestHandlerKey
public java.lang.String getTestHandlerKey()
- Specified by:
getTestHandlerKey in interface ProxyObject
getTabletServer
public TabletServerIF getTabletServer()