|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NeptuneMasterIF
Unit 테스트를 위해 NeptuneMaster의 메소드 중 테스트 대상 메소드만 interface로 별도 정의
| Field Summary |
|---|
| Fields inherited from interface com.nhncorp.neptune.master.TableManagerProtocol |
|---|
versionID |
| Fields inherited from interface com.nhncorp.neptune.master.TabletMasterProtocol |
|---|
versionID |
| Method Summary | |
|---|---|
void |
endTabletAssignmentForHandler(TabletInfo tabletInfo,
boolean created)
|
NConfiguration |
getConf()
|
java.lang.String |
getHostName()
|
void |
init(NeptuneMasterIF proxyObject,
NConfiguration conf)
|
boolean |
isShutdowned()
|
void |
shutdown()
|
boolean |
tryMasterLock()
|
| Methods inherited from interface com.nhncorp.neptune.master.TableManagerProtocol |
|---|
addColumn, addTablePermission, addTablet, addUser, createTable, dropTable, getTablets, getTabletServerInfos, listTables, removeTablePermission, removeUser, test |
| Methods inherited from interface com.nhncorp.neptune.common.AsyncCallProtocol |
|---|
getAsyncTaskStatus, removeAsyncTask |
| Methods inherited from interface com.nhncorp.neptune.common.ipc.NVersionedProtocol |
|---|
getProtocolVersion |
| Methods inherited from interface com.nhncorp.neptune.master.TabletMasterProtocol |
|---|
assignTablet, checkServer, endTableDrop, endTabletAssignment, errorTableDrop, errorTabletAssignment, reportTabletServerStarted, reportTabletSplited |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Methods inherited from interface com.nhncorp.neptune.common.aop.ProxyObject |
|---|
getTestHandlerKey |
| Method Detail |
|---|
void init(NeptuneMasterIF proxyObject,
NConfiguration conf)
throws java.io.IOException
java.io.IOExceptionvoid shutdown()
boolean isShutdowned()
void endTabletAssignmentForHandler(TabletInfo tabletInfo,
boolean created)
throws java.io.IOException
java.io.IOExceptionjava.lang.String getHostName()
boolean tryMasterLock()
throws java.io.IOException
java.io.IOExceptionNConfiguration getConf()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||