com.nhncorp.neptune.tabletserver
Interface TabletServerIF

All Superinterfaces:
Constants, DataServiceProtocol, NVersionedProtocol, ProxyObject, java.lang.Runnable, TabletManagerProtocol
All Known Implementing Classes:
TabletServer

public interface TabletServerIF
extends TabletManagerProtocol, DataServiceProtocol, Constants, java.lang.Runnable, ProxyObject


Field Summary
 
Fields inherited from interface com.nhncorp.neptune.tabletserver.TabletManagerProtocol
versionID
 
Fields inherited from interface com.nhncorp.neptune.tabletserver.DataServiceProtocol
versionID
 
Fields inherited from interface com.nhncorp.neptune.common.Constants
BATCH_RECEIVER_SUCCESS, BATCH_UPLOAD, CHANGELOG_SERVER, COMPACTION, DELETEED, END_RECEIVE_ROW, GROUPS, INDEX_INTERVAL_LENGH, INSERTED, LOG_OP_ADD_COLUMN_VALUE, LOG_OP_CREATE_ROW, LOG_OP_DELETE_COLUMN_VALUE, LOG_OP_MODIFY_META, MAP_RECORD_COLUMN, MAP_RECORD_ROW, MASTER, MASTER_SERVER, MAX_KEY_LENGTH, MAX_VALUE, META_COLUMN_NAME_TABLETINFO, MIN_VALUE, NEPTUNE, OPEN_SCANNER, PATH_SCHEMA, PIPE_CL_FILE_NAME, PROCESS, ROOT_TABLET, SCANNER_END, SCANNER_OPEN_FAIL, SCANNER_OPEN_SUCCESS, SCHEMA_DESCRIPTION_FILE_NAME, SCHEMA_INFO_FILENAME, SERVER, SPLIT, SPLIT_INFO, SPLIT_STORE, SUPERGROUP, TABLE_DROP, TABLE_LOCK, TABLE_NAME_META, TABLE_NAME_ROOT, TABLET_ALIVE, TABLET_ASSIGN, TABLET_AVAIL, TABLET_CREATED, TABLET_DROP, TABLET_FAIL, TABLET_STOP_MARK, TABLETSERVER_SPLIT, TEST_MODE, UPLOAD_END, UPLOAD_FAIL, UPLOAD_START_ROW, UPLOADER, USERS
 
Method Summary
 void endTabletAssignmentForHandler(TabletInfo tabletInfo, boolean create)
           
 java.lang.String getHostName()
           
 Tablet getTablet(java.lang.String tabletName)
           
 void init(TabletServerIF tabletServer, NConfiguration conf)
           
 boolean isShutdowned()
           
 void modifyMetaDataForSplit(Tablet targetTablet, Tablet[] splitedTablets)
           
 void reportTabletSplited(Tablet targetTablet, Tablet[] splitedTablets)
           
 void tabletSplited(Tablet tablet, Tablet[] splitedTablets)
           
 
Methods inherited from interface com.nhncorp.neptune.tabletserver.TabletManagerProtocol
addColumn, assignTablet, checkServer, doActionForTest, dropTable, getProperty, getServerStatus, getTabletDetailInfo, getTabletInfo, printTabletInfo, reportTablets, setProperty, shutdown, splitForTest, stopAllTablets, truncateColumn
 
Methods inherited from interface com.nhncorp.neptune.tabletserver.DataServiceProtocol
apply, canUpload, commit, commit, commit, deleteColumnValue, endBatchUploader, existsTxId, get, get, get, get, getAllActions, getAllMemoryValues, getAsyncTaskStatus, getCloestMetaData, getSplitedRowKeyRanges, getTabletDetailInfo, getTabletInfo, getTabletServerConf, hasValue, insertColumnValue, insertColumnValue, insertRow, isServicedTablet, printMeta, removeRow, rollback, saveTabletSplitedInfo, startBatchUploader, startTx, startTx, stopAction, test, testRPC, touch, updateColumnValue, updateOrInsertColumnValue
 
Methods inherited from interface com.nhncorp.neptune.common.ipc.NVersionedProtocol
getProtocolVersion
 
Methods inherited from interface java.lang.Runnable
run
 
Methods inherited from interface com.nhncorp.neptune.common.aop.ProxyObject
getTestHandlerKey
 

Method Detail

init

void init(TabletServerIF tabletServer,
          NConfiguration conf)
          throws java.io.IOException
Throws:
java.io.IOException

getHostName

java.lang.String getHostName()

isShutdowned

boolean isShutdowned()

getTablet

Tablet getTablet(java.lang.String tabletName)

endTabletAssignmentForHandler

void endTabletAssignmentForHandler(TabletInfo tabletInfo,
                                   boolean create)
                                   throws java.io.IOException
Throws:
java.io.IOException

modifyMetaDataForSplit

void modifyMetaDataForSplit(Tablet targetTablet,
                            Tablet[] splitedTablets)
                            throws java.io.IOException
Throws:
java.io.IOException

reportTabletSplited

void reportTabletSplited(Tablet targetTablet,
                         Tablet[] splitedTablets)
                         throws java.io.IOException
Throws:
java.io.IOException

tabletSplited

void tabletSplited(Tablet tablet,
                   Tablet[] splitedTablets)
                   throws java.io.IOException
Throws:
java.io.IOException