com.nhncorp.neptune.tabletserver
Interface TabletManagerProtocol

All Superinterfaces:
NVersionedProtocol
All Known Subinterfaces:
TabletServerIF
All Known Implementing Classes:
TabletServer

public interface TabletManagerProtocol
extends NVersionedProtocol


Field Summary
static long versionID
           
 
Method Summary
 void addColumn(java.lang.String tableName, java.lang.String tabletName, java.lang.String addedColumnName)
           
 void assignTablet(TabletInfo tabletInfo)
           
 boolean checkServer()
           
 void doActionForTest(java.lang.String tabletName, java.lang.String action)
           
 boolean dropTable(java.lang.String taskId, java.lang.String tableName)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
 TabletServerStatus getServerStatus()
           
 TabletReport getTabletDetailInfo(java.lang.String tabletName)
           
 TabletInfo getTabletInfo(java.lang.String tabletName)
           
 void printTabletInfo(java.lang.String tabletName)
           
 TabletInfo[] reportTablets()
           
 void setProperty(java.lang.String key, java.lang.String value)
           
 void shutdown()
           
 void splitForTest(TabletInfo tabletInfo)
           
 void stopAllTablets()
           
 void truncateColumn(java.lang.String tabletName, java.lang.String columnName)
           
 
Methods inherited from interface com.nhncorp.neptune.common.ipc.NVersionedProtocol
getProtocolVersion
 

Field Detail

versionID

static final long versionID
See Also:
Constant Field Values
Method Detail

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