@InterfaceAudience.Public public interface Canary
| Modifier and Type | Interface and Description |
|---|---|
static class |
Canary.Factory |
| Modifier and Type | Method and Description |
|---|---|
int |
checkRegions(String[] targets)
Run Canary in Region mode.
|
int |
checkRegionServers(String[] targets)
Runs Canary in Region server mode.
|
int |
checkZooKeeper()
Runs Canary in Zookeeper mode.
|
Map<String,String> |
getReadFailures() |
Map<String,String> |
getWriteFailures() |
int checkRegions(String[] targets) throws Exception
targets - -- list of monitor tables.Exceptionint checkRegionServers(String[] targets) throws Exception
targets - -- list of monitor tables.Exceptionint checkZooKeeper()
throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.