com.nhncorp.neptune.tabletserver
Interface TabletManagerProtocol
- All Superinterfaces:
- NVersionedProtocol
- All Known Subinterfaces:
- TabletServerIF
- All Known Implementing Classes:
- TabletServer
public interface TabletManagerProtocol
- extends NVersionedProtocol
versionID
static final long versionID
- See Also:
- Constant Field Values
assignTablet
void assignTablet(TabletInfo tabletInfo)
- Parameters:
tabletInfo -
reportTablets
TabletInfo[] reportTablets()
- Returns:
printTabletInfo
void printTabletInfo(java.lang.String tabletName)
throws java.io.IOException
- Parameters:
TabletName -
- Throws:
java.io.IOException
checkServer
boolean checkServer()
splitForTest
void splitForTest(TabletInfo tabletInfo)
throws java.io.IOException
- Parameters:
tabletInfo -
- Throws:
java.io.IOException
stopAllTablets
void stopAllTablets()
throws java.io.IOException
- Throws:
java.io.IOException
truncateColumn
void truncateColumn(java.lang.String tabletName,
java.lang.String columnName)
throws java.io.IOException
- Throws:
java.io.IOException
addColumn
void addColumn(java.lang.String tableName,
java.lang.String tabletName,
java.lang.String addedColumnName)
throws java.io.IOException
- Throws:
java.io.IOException
doActionForTest
void doActionForTest(java.lang.String tabletName,
java.lang.String action)
throws java.io.IOException
- Throws:
java.io.IOException
dropTable
boolean dropTable(java.lang.String taskId,
java.lang.String tableName)
throws java.io.IOException
- Throws:
java.io.IOException
setProperty
void setProperty(java.lang.String key,
java.lang.String value)
throws java.io.IOException
- Throws:
java.io.IOException
getProperty
java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
throws java.io.IOException
- Throws:
java.io.IOException
shutdown
void shutdown()
throws java.io.IOException
- Throws:
java.io.IOException
getTabletInfo
TabletInfo getTabletInfo(java.lang.String tabletName)
getServerStatus
TabletServerStatus getServerStatus()
throws java.io.IOException
- Throws:
java.io.IOException
getTabletDetailInfo
TabletReport getTabletDetailInfo(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException