public class ShellGetMysqlOffset extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShellGetMysqlOffset.MysqlSimpleOffset |
| Constructor and Description |
|---|
ShellGetMysqlOffset() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
test static class
|
static ShellGetMysqlOffset.MysqlSimpleOffset |
showMasterStatus(String ip)
execute a shell command "show master status" on the specific mysql source
|
public static ShellGetMysqlOffset.MysqlSimpleOffset showMasterStatus(String ip) throws Exception
ip - ExceptionCopyright © 2016. All rights reserved.