com.nhncorp.neptune.changelog
Interface ChangeLogServerIF

All Superinterfaces:
NVersionedProtocol
All Known Implementing Classes:
ChangeLogServer

public interface ChangeLogServerIF
extends NVersionedProtocol


Field Summary
static long REPORT_TIME
           
static long versionID
           
 
Method Summary
 java.lang.String backupLogFile(java.lang.String tabletName)
           
 void closeAll(java.lang.String tabletName)
           
 void closePipe(java.lang.String tabletName, java.lang.String pipeKey)
           
 java.lang.String fini(java.lang.String tabletName, int bytes)
           
 void format()
           
 long getChecksum(java.lang.String tabletName)
           
 long getLogFileSize(java.lang.String tabletName)
           
 int readAllLogs(java.lang.String tabletName)
           
 int readLastLog(java.lang.String tabletName)
           
 java.lang.String removeAllLogs(java.lang.String tabletName)
           
 void removeBackupLogs(java.lang.String tabletName)
           
 void restoreLogFile(java.lang.String tabletName)
           
 java.lang.String rollback(java.lang.String tabletName, java.lang.String position)
           
 void start()
           
 void stopChangeLogServer()
           
 java.lang.String tabletExists(java.lang.String tabletName)
           
 
Methods inherited from interface com.nhncorp.neptune.common.ipc.NVersionedProtocol
getProtocolVersion
 

Field Detail

versionID

static final long versionID
See Also:
Constant Field Values

REPORT_TIME

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

fini

java.lang.String fini(java.lang.String tabletName,
                      int bytes)

rollback

java.lang.String rollback(java.lang.String tabletName,
                          java.lang.String position)

removeAllLogs

java.lang.String removeAllLogs(java.lang.String tabletName)
                               throws java.io.IOException
Throws:
java.io.IOException

getLogFileSize

long getLogFileSize(java.lang.String tabletName)

closeAll

void closeAll(java.lang.String tabletName)

closePipe

void closePipe(java.lang.String tabletName,
               java.lang.String pipeKey)

readLastLog

int readLastLog(java.lang.String tabletName)

readAllLogs

int readAllLogs(java.lang.String tabletName)

backupLogFile

java.lang.String backupLogFile(java.lang.String tabletName)

restoreLogFile

void restoreLogFile(java.lang.String tabletName)

removeBackupLogs

void removeBackupLogs(java.lang.String tabletName)
                      throws java.io.IOException
Throws:
java.io.IOException

format

void format()

stopChangeLogServer

void stopChangeLogServer()

tabletExists

java.lang.String tabletExists(java.lang.String tabletName)

start

void start()
           throws java.io.IOException
Throws:
java.io.IOException

getChecksum

long getChecksum(java.lang.String tabletName)
                 throws java.io.IOException
Throws:
java.io.IOException