Package org.apache.hadoop.hbase.tool
Class CanaryTool.RegionTaskResult
java.lang.Object
org.apache.hadoop.hbase.tool.CanaryTool.RegionTaskResult
- Enclosing class:
- CanaryTool
Canary region mode-specific data structure which stores information about each region to be
scanned
-
Field Summary
Modifier and TypeFieldDescriptionprivate ColumnFamilyDescriptor
private AtomicLong
private boolean
private RegionInfo
private ServerName
private TableName
private AtomicLong
private boolean
-
Constructor Summary
ConstructorDescriptionRegionTaskResult
(RegionInfo region, TableName tableName, ServerName serverName, ColumnFamilyDescriptor column) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
boolean
boolean
void
setReadLatency
(long readLatency) void
void
setWriteLatency
(long writeLatency) void
-
Field Details
-
region
-
tableName
-
serverName
-
column
-
readLatency
-
writeLatency
-
readSuccess
-
writeSuccess
-
-
Constructor Details
-
RegionTaskResult
public RegionTaskResult(RegionInfo region, TableName tableName, ServerName serverName, ColumnFamilyDescriptor column)
-
-
Method Details
-
getRegionInfo
-
getRegionNameAsString
-
getTableName
-
getTableNameAsString
-
getServerName
-
getServerNameAsString
-
getColumnFamily
-
getColumnFamilyNameAsString
-
getReadLatency
-
setReadLatency
-
getWriteLatency
-
setWriteLatency
-
isReadSuccess
-
setReadSuccess
-
isWriteSuccess
-
setWriteSuccess
-