public static class CanaryTool.RegionTaskResult extends Object
Modifier and Type | Field and Description |
---|---|
private ColumnFamilyDescriptor |
column |
private AtomicLong |
readLatency |
private boolean |
readSuccess |
private RegionInfo |
region |
private ServerName |
serverName |
private TableName |
tableName |
private AtomicLong |
writeLatency |
private boolean |
writeSuccess |
Constructor and Description |
---|
RegionTaskResult(RegionInfo region,
TableName tableName,
ServerName serverName,
ColumnFamilyDescriptor column) |
Modifier and Type | Method and Description |
---|---|
ColumnFamilyDescriptor |
getColumnFamily() |
String |
getColumnFamilyNameAsString() |
long |
getReadLatency() |
RegionInfo |
getRegionInfo() |
String |
getRegionNameAsString() |
ServerName |
getServerName() |
String |
getServerNameAsString() |
TableName |
getTableName() |
String |
getTableNameAsString() |
long |
getWriteLatency() |
boolean |
isReadSuccess() |
boolean |
isWriteSuccess() |
void |
setReadLatency(long readLatency) |
void |
setReadSuccess() |
void |
setWriteLatency(long writeLatency) |
void |
setWriteSuccess() |
private RegionInfo region
private ServerName serverName
private ColumnFamilyDescriptor column
private AtomicLong readLatency
private AtomicLong writeLatency
private boolean readSuccess
private boolean writeSuccess
public RegionTaskResult(RegionInfo region, TableName tableName, ServerName serverName, ColumnFamilyDescriptor column)
public RegionInfo getRegionInfo()
public String getRegionNameAsString()
public TableName getTableName()
public String getTableNameAsString()
public ServerName getServerName()
public String getServerNameAsString()
public ColumnFamilyDescriptor getColumnFamily()
public String getColumnFamilyNameAsString()
public long getReadLatency()
public void setReadLatency(long readLatency)
public long getWriteLatency()
public void setWriteLatency(long writeLatency)
public boolean isReadSuccess()
public void setReadSuccess()
public boolean isWriteSuccess()
public void setWriteSuccess()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.