public static class CanaryTool.RegionTaskResult extends Object
Constructor and Description |
---|
CanaryTool.RegionTaskResult(HRegionInfo region,
TableName tableName,
ServerName serverName) |
Modifier and Type | Method and Description |
---|---|
long |
getReadLatency() |
HRegionInfo |
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() |
public CanaryTool.RegionTaskResult(HRegionInfo region, TableName tableName, ServerName serverName)
public HRegionInfo getRegionInfo()
public String getRegionNameAsString()
public TableName getTableName()
public String getTableNameAsString()
public ServerName getServerName()
public String getServerNameAsString()
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–2019 The Apache Software Foundation. All rights reserved.