Modifier and Type | Class and Description |
---|---|
static class |
Canary.RegionTask.TaskType |
Modifier and Type | Field and Description |
---|---|
private Connection |
connection |
private boolean |
rawScanEnabled |
private LongAdder |
readWriteLatency |
private RegionInfo |
region |
private ServerName |
serverName |
private Canary.RegionStdOutSink |
sink |
private Canary.RegionTask.TaskType |
taskType |
Constructor and Description |
---|
RegionTask(Connection connection,
RegionInfo region,
ServerName serverName,
Canary.RegionStdOutSink sink,
Canary.RegionTask.TaskType taskType,
boolean rawScanEnabled,
LongAdder rwLatency) |
Modifier and Type | Method and Description |
---|---|
Void |
call() |
Void |
read() |
private Void |
write()
Check writes for the canary table
|
private Connection connection
private RegionInfo region
private Canary.RegionStdOutSink sink
private Canary.RegionTask.TaskType taskType
private boolean rawScanEnabled
private ServerName serverName
private LongAdder readWriteLatency
RegionTask(Connection connection, RegionInfo region, ServerName serverName, Canary.RegionStdOutSink sink, Canary.RegionTask.TaskType taskType, boolean rawScanEnabled, LongAdder rwLatency)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.