public final class ServerEngineManager extends java.lang.Object implements ServerEngineManagerMBean
Constructor and Description |
---|
ServerEngineManager() |
Modifier and Type | Method and Description |
---|---|
void |
backup()
MBean method to initiate a backup
|
void |
collectStatistics(java.lang.String relvarName)
MBean method to request relvar statistics collection
|
void |
dumpDB(java.lang.String fileName,
java.lang.String option)
MBean method to request a DBMS file dump
|
static ServerEngineManager |
getInstance()
Gets the instance
|
void |
hotRestart()
MBean method to initiate a hotRestart
|
void |
printJournals(java.lang.String relvarName,
long from,
long to)
MBean method to initiate a hotRestart
|
void |
shutEngineDown()
MBean method to shut down a running engine without going through a Monitor connection.
|
void |
splitLog()
MBean method to force a log split
|
void |
verifyDB(java.lang.String relvarName)
MBean method to request a relvar records verification
|
public static ServerEngineManager getInstance()
public void backup()
ServerEngineManagerMBean
backup
in interface ServerEngineManagerMBean
public void collectStatistics(java.lang.String relvarName)
ServerEngineManagerMBean
collectStatistics
in interface ServerEngineManagerMBean
relvarName
- The name of the relvar for which statistics collection is wantedpublic void dumpDB(java.lang.String fileName, java.lang.String option)
ServerEngineManagerMBean
dumpDB
in interface ServerEngineManagerMBean
fileName
- The name of the dbms file to dumpoption
- The dump option, BRIEF or FULLpublic void hotRestart()
ServerEngineManagerMBean
hotRestart
in interface ServerEngineManagerMBean
public void printJournals(java.lang.String relvarName, long from, long to)
ServerEngineManagerMBean
printJournals
in interface ServerEngineManagerMBean
relvarName
- The name of the relvar for which the journals are to be printedfrom
- The yyyymmddhhmmss numeric value of the start time of the time window to be printedto
- The yyyymmddhhmmss numeric value of the end time of the time window to be printed. Any value less than or equal to from will be treated as 99991231235959.public void shutEngineDown()
ServerEngineManagerMBean
shutEngineDown
in interface ServerEngineManagerMBean
public void splitLog()
ServerEngineManagerMBean
splitLog
in interface ServerEngineManagerMBean
public void verifyDB(java.lang.String relvarName)
ServerEngineManagerMBean
verifyDB
in interface ServerEngineManagerMBean
relvarName
- The name of the relvar for which to verify the records' consistency