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 boolean |
readAllCF |
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,
boolean readAllCF) |
Modifier and Type | Method and Description |
---|---|
Void |
call() |
private ColumnFamilyDescriptor |
randomPickOneColumnFamily(ColumnFamilyDescriptor[] cfs) |
Void |
read() |
private Void |
readColumnFamily(Table table,
ColumnFamilyDescriptor column) |
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
private boolean readAllCF
RegionTask(Connection connection, RegionInfo region, ServerName serverName, CanaryTool.RegionStdOutSink sink, CanaryTool.RegionTask.TaskType taskType, boolean rawScanEnabled, LongAdder rwLatency, boolean readAllCF)
private Void readColumnFamily(Table table, ColumnFamilyDescriptor column)
private ColumnFamilyDescriptor randomPickOneColumnFamily(ColumnFamilyDescriptor[] cfs)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.