static class CanaryTool.RegionTask extends Object implements Callable<Void>
Modifier and Type | Class and Description |
---|---|
static class |
CanaryTool.RegionTask.TaskType |
Modifier and Type | Field and Description |
---|---|
private Connection |
connection |
private boolean |
rawScanEnabled |
private LongAdder |
readWriteLatency |
private RegionInfo |
region |
private ServerName |
serverName |
private CanaryTool.RegionStdOutSink |
sink |
private CanaryTool.RegionTask.TaskType |
taskType |
Constructor and Description |
---|
RegionTask(Connection connection,
RegionInfo region,
ServerName serverName,
CanaryTool.RegionStdOutSink sink,
CanaryTool.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 CanaryTool.RegionStdOutSink sink
private CanaryTool.RegionTask.TaskType taskType
private boolean rawScanEnabled
private ServerName serverName
private LongAdder readWriteLatency
RegionTask(Connection connection, RegionInfo region, ServerName serverName, CanaryTool.RegionStdOutSink sink, CanaryTool.RegionTask.TaskType taskType, boolean rawScanEnabled, LongAdder rwLatency)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.