@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.Exception
int checkRegionServers(String[] targets) throws Exception
targets
- -- list of monitor tables.Exception
int checkZooKeeper() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.