com.nhncorp.neptune.changelog.previous
Interface ChangeLogServerIF
- All Superinterfaces:
- Constants, NVersionedProtocol, ProxyObject, java.lang.Runnable
public interface ChangeLogServerIF
- extends Constants, java.lang.Runnable, ProxyObject, NVersionedProtocol
| 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 |
| Methods inherited from interface java.lang.Runnable |
run |
versionID
static final long versionID
- See Also:
- Constant Field Values
init
void init(ChangeLogServerIF changeLogServer,
NConfiguration configuration)
throws java.io.IOException
- Throws:
java.io.IOException
deleteAll
void deleteAll(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException
nextChangeLog
ChangeLog nextChangeLog(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException
close
void close(java.lang.String tabletName,
boolean append)
throws java.io.IOException
- Throws:
java.io.IOException
addChangeLog
java.lang.String addChangeLog(java.lang.String tabletName,
java.lang.String txId,
int seq,
ChangeLog changeLog)
throws java.io.IOException
- Throws:
java.io.IOException
test
java.lang.String test()
rollback
void rollback(java.lang.String tabletName,
java.lang.String txId)
throws java.io.IOException
- Throws:
java.io.IOException
getMaxTxId
java.lang.String getMaxTxId(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException
sync
void sync(java.lang.String tabletName,
java.lang.String minTxId)
throws java.io.IOException
- Throws:
java.io.IOException
getHostName
java.lang.String getHostName()
shutdown
void shutdown()
throws java.io.IOException
- Throws:
java.io.IOException
isShutdowned
boolean isShutdowned()
startMinorCompaction
boolean startMinorCompaction(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException
endMinorCompaction
void endMinorCompaction(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException
format
void format()
throws java.io.IOException
- Throws:
java.io.IOException
getReadyMinorCompaction
ReadyMinorCompaction getReadyMinorCompaction(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException