public static class Canary.RegionStdOutSink extends Canary.StdOutSink
Constructor and Description |
---|
RegionStdOutSink() |
Modifier and Type | Method and Description |
---|---|
Map<String,LongAdder> |
getReadLatencyMap() |
LongAdder |
getWriteLatency() |
LongAdder |
initializeAndGetReadLatencyForTable(String tableName) |
void |
initializeWriteLatency() |
void |
publishReadFailure(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
Exception e) |
void |
publishReadFailure(ServerName serverName,
RegionInfo region,
Exception e) |
void |
publishReadTiming(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
long msTime) |
void |
publishWriteFailure(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
Exception e) |
void |
publishWriteFailure(ServerName serverName,
RegionInfo region,
Exception e) |
void |
publishWriteTiming(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
long msTime) |
getReadFailureCount, getReadFailures, getWriteFailureCount, getWriteFailures, incReadFailureCount, incWriteFailureCount, updateReadFailures, updateWriteFailures
public void publishReadFailure(ServerName serverName, RegionInfo region, Exception e)
public void publishReadFailure(ServerName serverName, RegionInfo region, ColumnFamilyDescriptor column, Exception e)
public void publishReadTiming(ServerName serverName, RegionInfo region, ColumnFamilyDescriptor column, long msTime)
public void publishWriteFailure(ServerName serverName, RegionInfo region, Exception e)
public void publishWriteFailure(ServerName serverName, RegionInfo region, ColumnFamilyDescriptor column, Exception e)
public void publishWriteTiming(ServerName serverName, RegionInfo region, ColumnFamilyDescriptor column, long msTime)
public LongAdder initializeAndGetReadLatencyForTable(String tableName)
public void initializeWriteLatency()
public LongAdder getWriteLatency()
Copyright © 2007–2019 Cloudera. All rights reserved.